mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +08:00
引入easyadmin'
This commit is contained in:
23
public/static/admin/js/system/config.js
Normal file
23
public/static/admin/js/system/config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
define(["jquery", "easy-admin", "vue"], function ($, ea, Vue) {
|
||||
|
||||
var form = layui.form;
|
||||
|
||||
var Controller = {
|
||||
index: function () {
|
||||
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
upload_type: upload_type
|
||||
}
|
||||
});
|
||||
|
||||
form.on("radio(upload_type)", function (data) {
|
||||
app.upload_type = this.value;
|
||||
});
|
||||
|
||||
ea.listen();
|
||||
}
|
||||
};
|
||||
return Controller;
|
||||
});
|
||||
Reference in New Issue
Block a user