You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
501 B
23 lines
501 B
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;
|
|
});
|