mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 18:42:49 +08:00
将js代码架构改为app下渲染;
This commit is contained in:
0
app/admin/view/system/config/_common.js
Normal file
0
app/admin/view/system/config/_common.js
Normal file
12
app/admin/view/system/config/index.js
Normal file
12
app/admin/view/system/config/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
$(function () {
|
||||
var form = layui.form;
|
||||
$('.show-type-item').hide();
|
||||
$('.show-type-item.' + upload_type).show();
|
||||
form.on("radio(upload_type)", function (data) {
|
||||
|
||||
$('.show-type-item').hide();
|
||||
$('.show-type-item.' + this.value).show();
|
||||
});
|
||||
|
||||
ua.listen();
|
||||
});
|
||||
Reference in New Issue
Block a user