Browse Source

更新新版本
移除冗余代码

Karson 3 years ago
parent
commit
c91e3c3ee0

+ 1 - 1
application/config.php

@@ -292,7 +292,7 @@ return [
         //允许跨域的域名,多个以,分隔
         'cors_request_domain'   => 'localhost,127.0.0.1',
         //版本号
-        'version'               => '1.2.0.20210401_beta',
+        'version'               => '1.2.1.20210730_beta',
         //API接口地址
         'api_url'               => 'https://api.fastadmin.net',
     ],

File diff suppressed because it is too large
+ 1 - 1
public/assets/css/frontend.min.css


+ 0 - 31
public/assets/js/require-backend.min.js

@@ -10409,35 +10409,6 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'],
                     return false;
                 });
             },
-            tagsinput: function (form) {
-                //标签输入
-                $("input[data-toggle='tagsinput']").each(function () {
-                    var setting = {
-                        width: 'auto',
-                        defaultText: '输入后空格确认',
-                        minInputWidth: 110,
-                        height: '36px',
-                        placeholderColor: '#999',
-                        onChange: function (row) {
-                            $("input", $(this).next()).parent().focus();
-                            $("input", $(this).next()).trigger("blur.autocomplete").focus();
-                        },
-                    };
-                    var autocomplete = $(this).data("tagsinput-autocomplete");
-                    if (autocomplete) {
-                        if (typeof autocomplete == 'string') {
-                            autocomplete = {url: autocomplete};
-                        }
-                        setting['autocomplete'] = $.extend({
-                            url: '',
-                            minChars: 1,
-                            menuClass: 'autocomplete-tags'
-                        }, autocomplete);
-                    }
-                    setting = $.extend(true, setting, $(this).data("tagsinput") || {});
-                    $(this).tagsInput(setting);
-                });
-            },
             bindevent: function (form) {
 
             },
@@ -10556,8 +10527,6 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'],
                 events.slider(form);
 
                 events.switcher(form);
-
-                events.tagsinput(form);
             },
             custom: {}
         },

+ 0 - 31
public/assets/js/require-form.js

@@ -413,35 +413,6 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
                     return false;
                 });
             },
-            tagsinput: function (form) {
-                //标签输入
-                $("input[data-toggle='tagsinput']").each(function () {
-                    var setting = {
-                        width: 'auto',
-                        defaultText: '输入后空格确认',
-                        minInputWidth: 110,
-                        height: '36px',
-                        placeholderColor: '#999',
-                        onChange: function (row) {
-                            $("input", $(this).next()).parent().focus();
-                            $("input", $(this).next()).trigger("blur.autocomplete").focus();
-                        },
-                    };
-                    var autocomplete = $(this).data("tagsinput-autocomplete");
-                    if (autocomplete) {
-                        if (typeof autocomplete == 'string') {
-                            autocomplete = {url: autocomplete};
-                        }
-                        setting['autocomplete'] = $.extend({
-                            url: '',
-                            minChars: 1,
-                            menuClass: 'autocomplete-tags'
-                        }, autocomplete);
-                    }
-                    setting = $.extend(true, setting, $(this).data("tagsinput") || {});
-                    $(this).tagsInput(setting);
-                });
-            },
             bindevent: function (form) {
 
             },
@@ -560,8 +531,6 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
                 events.slider(form);
 
                 events.switcher(form);
-
-                events.tagsinput(form);
             },
             custom: {}
         },

+ 0 - 31
public/assets/js/require-frontend.min.js

@@ -10256,35 +10256,6 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'],
                     return false;
                 });
             },
-            tagsinput: function (form) {
-                //标签输入
-                $("input[data-toggle='tagsinput']").each(function () {
-                    var setting = {
-                        width: 'auto',
-                        defaultText: '输入后空格确认',
-                        minInputWidth: 110,
-                        height: '36px',
-                        placeholderColor: '#999',
-                        onChange: function (row) {
-                            $("input", $(this).next()).parent().focus();
-                            $("input", $(this).next()).trigger("blur.autocomplete").focus();
-                        },
-                    };
-                    var autocomplete = $(this).data("tagsinput-autocomplete");
-                    if (autocomplete) {
-                        if (typeof autocomplete == 'string') {
-                            autocomplete = {url: autocomplete};
-                        }
-                        setting['autocomplete'] = $.extend({
-                            url: '',
-                            minChars: 1,
-                            menuClass: 'autocomplete-tags'
-                        }, autocomplete);
-                    }
-                    setting = $.extend(true, setting, $(this).data("tagsinput") || {});
-                    $(this).tagsInput(setting);
-                });
-            },
             bindevent: function (form) {
 
             },
@@ -10403,8 +10374,6 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'],
                 events.slider(form);
 
                 events.switcher(form);
-
-                events.tagsinput(form);
             },
             custom: {}
         },