切换菜单时 图标不清空问题
This commit is contained in:
parent
4948bf14f2
commit
1076c65e29
|
@ -295,9 +295,10 @@ export default {
|
||||||
console.log(res, "res");
|
console.log(res, "res");
|
||||||
this.ruleForm = res.attribute;
|
this.ruleForm = res.attribute;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
this.imageUrl = ""
|
||||||
this.$refs.customForm.choiceAssignment(res.attribute);
|
this.$refs.customForm.choiceAssignment(res.attribute);
|
||||||
let menuIcon = res.attribute.menuIcon ? res.attribute.menuIcon : "";
|
let menuIcon = res.attribute.menuIcon ? res.attribute.menuIcon : "";
|
||||||
if (menuIcon) {
|
if (menuIcon && !menuIcon.includes("icon")) {
|
||||||
this.getLogoUrl(menuIcon);
|
this.getLogoUrl(menuIcon);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue