From 832f8e3a9838e853945772b4bd1b7881784150be Mon Sep 17 00:00:00 2001 From: hdm Date: Wed, 1 Jun 2022 12:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=94=AE=E5=AD=97=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=88=9B=E5=BB=BA=E6=97=B6=E7=9A=84=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E8=AF=8D=E8=8E=B7=E5=8F=96=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/assets/gougu/module/tagpicker.js | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/public/static/assets/gougu/module/tagpicker.js b/public/static/assets/gougu/module/tagpicker.js index 0bbf477..aaac40d 100644 --- a/public/static/assets/gougu/module/tagpicker.js +++ b/public/static/assets/gougu/module/tagpicker.js @@ -37,24 +37,21 @@ layui.define(['layer'],function(exports){ if(e.code==0){ if(e.data.length>0){ me.ajaxData=e.data; - layer.open({ - title:me.settings.title, - area:[me.settings.width+'px',me.settings.height+'px'], - content:me.render(), - type:1, - success:function(){ - me.click(); - }, - btn: ['确定'], - yes: function(idx){ - me.set(); - layer.close(idx); - } - }); - } - else{ - layer.msg('暂无数据'); - } + } + layer.open({ + title:me.settings.title, + area:[me.settings.width+'px',me.settings.height+'px'], + content:me.render(), + type:1, + success:function(){ + me.click(); + }, + btn: ['确定'], + yes: function(idx){ + me.set(); + layer.close(idx); + } + }); }else{ layer.msg(e.msg); }