mirror of https://gitee.com/karson/fastadmin.git
parent
6178a5c231
commit
1d7c7d7ce6
|
|
@ -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
|
|
@ -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: {}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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: {}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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: {}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue