Commit 08090899 authored by 高铭波's avatar 高铭波

解决文件冲突

parent 3ee22348
......@@ -130,6 +130,15 @@
@value-change="fieldValueChange"
>
</xh-select>
<xh-specifications
v-else-if="item.formType === 'select-new-page'"
:groupIndex="groupIndex"
:itemIndex="itemIndex"
:item="item"
:value="form[item.fieldsName] || ''"
@value-change="fieldValueChange"
>
</xh-specifications>
<view v-else-if="item.formType === 'file'">
<xh-files
:ref="`fileChild${groupIndex}${itemIndex}`"
......@@ -272,6 +281,7 @@ import XhMultiInput from "@/components/createCom/XhMultiInput.vue";
import XhRadio from "@/components/createCom/XhRadio.vue";
import XhCheckbox from "@/components/createCom/XhCheckbox.vue";
import XhSelect from "@/components/createCom/XhSelect.vue";
import XhSpecifications from "@/components/createCom/XhSpecifications.vue";
import XhFiles from "@/components/createCom/XhFiles.vue";
import XhLocation from "@/components/createCom/XhLocation.vue";
import XhScan from "@/components/createCom/XhScan.vue";
......@@ -296,7 +306,7 @@ const formType = new Map([
["jscode", ["input", "text"]],
["multiinput", ["multiinput", "text"]],
["select", ["select", "text"]],
["specifications", ["select", "text"]],
["specifications", ["select-new-page", "text"]],
["radio", ["radio", "text"]],
["checkbox", ["checkbox", "text"]],
["file", ["file", "text"]],
......@@ -446,6 +456,7 @@ export default {
XhRadio,
XhCheckbox,
XhSelect,
XhSpecifications,
XhFiles,
XhLocation,
XhScan,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment