From abe4597f12a48f0feb7e1432aa55c159c35f59d4 Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 16 Feb 2022 12:08:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90=E8=A1=A8?= =?UTF-8?q?=E7=8E=B0,=E6=9C=AA=E6=8C=87=E5=AE=9A=E7=9A=84=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=BB=98=E8=AE=A4=E4=B8=BAadd;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/plugs/easy-admin/easy-admin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/static/plugs/easy-admin/easy-admin.js b/public/static/plugs/easy-admin/easy-admin.js index 983ef37..a2a6443 100644 --- a/public/static/plugs/easy-admin/easy-admin.js +++ b/public/static/plugs/easy-admin/easy-admin.js @@ -305,7 +305,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine $.each(v, function (ii, vv) { vv.class = vv.class || ''; vv.icon = vv.icon || ''; - vv.auth = vv.auth || ''; + vv.auth = vv.auth || 'add'; vv.url = vv.url || ''; vv.method = vv.method || 'open'; vv.title = vv.title || vv.text; @@ -517,7 +517,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine var html = ''; operat.class = operat.class || ''; operat.icon = operat.icon || ''; - operat.auth = operat.auth || ''; + operat.auth = operat.auth || 'add'; operat.url = operat.url || ''; operat.extend = operat.extend || ''; operat.method = operat.method || 'open'; @@ -656,7 +656,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine $.each(item, function (i, operat) { operat.class = operat.class || ''; operat.icon = operat.icon || ''; - operat.auth = operat.auth || ''; + operat.auth = operat.auth || 'add'; operat.url = operat.url || ''; operat.method = operat.method || 'open'; operat.field = operat.field || 'id';