切换菜单时 图标不清空问题

This commit is contained in:
曹瑞 2024-07-09 14:07:10 +08:00
parent 4948bf14f2
commit 1076c65e29
1 changed files with 2 additions and 1 deletions

View File

@ -295,9 +295,10 @@ export default {
console.log(res, "res");
this.ruleForm = res.attribute;
this.$nextTick(() => {
this.imageUrl = ""
this.$refs.customForm.choiceAssignment(res.attribute);
let menuIcon = res.attribute.menuIcon ? res.attribute.menuIcon : "";
if (menuIcon) {
if (menuIcon && !menuIcon.includes("icon")) {
this.getLogoUrl(menuIcon);
}
});