修复富文本聚集和研究机构所属领域bug
This commit is contained in:
@ -103,11 +103,11 @@ export default {
|
|||||||
for (let i = 0; i < data.industrys.length; i++) {
|
for (let i = 0; i < data.industrys.length; i++) {
|
||||||
key.push(data.industrys[i].key);
|
key.push(data.industrys[i].key);
|
||||||
}
|
}
|
||||||
if (data.industrys.length > 0) {
|
if (key.length > 0) {
|
||||||
this.levelIChange(data.industrys[0].key);
|
this.levelIChange(key[0]);
|
||||||
}
|
}
|
||||||
if (data.industrys.length > 1) {
|
if (key.length > 1) {
|
||||||
this.levelIIChange(data.industrys[1].key);
|
this.levelIIChange(key[1]);
|
||||||
}
|
}
|
||||||
newOld.industrys = key;
|
newOld.industrys = key;
|
||||||
},
|
},
|
||||||
@ -130,11 +130,12 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
async levelIChange(id) {
|
async levelIChange(id) {
|
||||||
this.value.industrys = [];
|
this.value.industrys[1] = "";
|
||||||
|
this.value.industrys[2] = "";
|
||||||
this.levelII = await this.getFieldByParent(id);
|
this.levelII = await this.getFieldByParent(id);
|
||||||
},
|
},
|
||||||
async levelIIChange(id) {
|
async levelIIChange(id) {
|
||||||
this.value.industrys = [];
|
this.value.industrys[2] = "";
|
||||||
this.levelIII = await this.getFieldByParent(id);
|
this.levelIII = await this.getFieldByParent(id);
|
||||||
},
|
},
|
||||||
submitForm() {
|
submitForm() {
|
||||||
|
@ -88,6 +88,7 @@
|
|||||||
v-model="value.introduce"
|
v-model="value.introduce"
|
||||||
:minHeight="150"
|
:minHeight="150"
|
||||||
ref="introduceRef"
|
ref="introduceRef"
|
||||||
|
@click.native="handleEditAble"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -173,7 +174,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
// this.$refs.introduceRef.Quill.enable(false);
|
this.$refs.introduceRef.Quill.enable(false);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Reference in New Issue
Block a user