更新新版本

移除冗余代码
pull/342/MERGE v1.2.1.20210731_beta
Karson 2021-07-30 16:17:04 +08:00
parent 6178a5c231
commit c91e3c3ee0
5 changed files with 2 additions and 95 deletions

View File

@ -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 one or more lines are too long

View File

@ -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: {}
},

View File

@ -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: {}
},

View File

@ -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: {}
},