diff --git a/src/components/FormComponents/CustomForm/FormContent.vue b/src/components/FormComponents/CustomForm/FormContent.vue
index a890c401d9ada2fd35318d489e79e8df890ce077..34a0d2c293df2a5a82b8a3f6c2c125b8ea33187f 100644
--- a/src/components/FormComponents/CustomForm/FormContent.vue
+++ b/src/components/FormComponents/CustomForm/FormContent.vue
@@ -1,8 +1,6 @@
-
+
@@ -158,8 +166,7 @@
v-for="(opt, optIndex) in item.dicData"
:key="optIndex"
:label="opt.value"
- >{{ opt.label }}
-
+ >{{ opt.label }}
@@ -173,8 +180,7 @@
v-for="(opt, optIndex) in item.dicData"
:key="optIndex"
:label="opt.value"
- >{{ opt.label }}
-
+ >{{ opt.label }}
@@ -200,8 +206,7 @@
:key="optIndex"
:label="opt.label"
:value="opt.value"
- >
-
+ >
@@ -230,8 +235,7 @@
style="width: 100%"
clearable
@change="handleChange"
- >
-
+ >
-
+ >
-
+ >
-
+ >
-
+ >
-
+ >
-
+ >
-
+ >
-
+ >
+
+
+ {{form[item.prop]}}
{{ item.importantFieldDesc || "*" }}
+ >{{ item.importantFieldDesc || "*" }}
@@ -401,6 +399,10 @@ export default {
type: Function,
default: () => {},
},
+ configForms: {
+ type: Function,
+ default: () => {},
+ },
},
props: {
item: {
@@ -452,6 +454,11 @@ export default {
},
mounted() {
this.showFormItem()
+ console.log("组件内部2",this.configForms.showIndex)
+ // this.configForms.showIndex=this.showIndex
+ this.$nextTick(() => {
+ console.log("组件内部3",this.configForms.showIndex)
+ })
},
methods: {
scrollToView() {
diff --git a/src/layouts/components/NavBar/index.vue b/src/layouts/components/NavBar/index.vue
index 678e1237f0ca0ce73cbb933594ee893855169046..a936ae7e19b256c4edbe2c48b3db488cf15b6651 100644
--- a/src/layouts/components/NavBar/index.vue
+++ b/src/layouts/components/NavBar/index.vue
@@ -17,14 +17,10 @@
{{ item.label }}
-