From 1a36943faad24e7ea765c32fe4f15e1385ac61d4 Mon Sep 17 00:00:00 2001 From: "[li_she]" <[li.she@xujiesoft.com]> Date: Mon, 5 Dec 2022 09:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=BC=96=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=202022=E5=B9=B412=E6=9C=885=E6=97=A5=20sxm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/knifemold/tool-info.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/modules/knifemold/tool-info.vue b/src/views/modules/knifemold/tool-info.vue index 351c9a7..6bacc3a 100644 --- a/src/views/modules/knifemold/tool-info.vue +++ b/src/views/modules/knifemold/tool-info.vue @@ -1675,11 +1675,8 @@ // 获取button的词典 getFunctionButtonList() { searchFunctionButtonList(this.queryButton).then(({data}) => { - if (JSON.stringify(data.data) !== '{}') { + if (data && data.code == 0) { this.buttons = data.data - } else { - saveButtonList(this.buttonList).then(({data}) => { - }) } }) },