From ceecebe477faf5a45b19f3b258f7add8f93b4583 Mon Sep 17 00:00:00 2001 From: futian.liu <liufutianyoo@163.com> Date: 星期二, 05 十二月 2023 10:00:24 +0800 Subject: [PATCH] 代码优化 结构调整 --- admin-web/src/components/myButton/myButton.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-web/src/components/myButton/myButton.vue b/admin-web/src/components/myButton/myButton.vue index a37f4f4..72a7a82 100644 --- a/admin-web/src/components/myButton/myButton.vue +++ b/admin-web/src/components/myButton/myButton.vue @@ -343,8 +343,8 @@ this.mySize = this.tools.size this.myPlain = this.tools.plain this.myType = this.tools.type - if (this.icons != null) { - this.myIcon = this.icons + if (this.icon != null) { + this.myIcon = this.icon } else { this.myIcon = this.tools.other[this.myName].icon } -- Gitblit v1.9.1