Merge pull request '切换菜单时 图标不清空问题' (#15) from caor into huyt
Reviewed-on: http://192.168.2.237:3000/root/middleground_code_v2/pulls/15
This commit is contained in:
commit
815be63697
|
@ -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