mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
优化第三方存储链接生成,更符合接口规范;优化上传配置文件;
This commit is contained in:
@@ -5,15 +5,12 @@ define(["jquery", "easy-admin", "vue"], function ($, ea, Vue) {
|
||||
var Controller = {
|
||||
index: function () {
|
||||
|
||||
var app = new Vue({
|
||||
el: '#app',
|
||||
data: {
|
||||
upload_type: upload_type
|
||||
}
|
||||
});
|
||||
|
||||
$('.show-type-item').hide();
|
||||
$('.show-type-item.' + upload_type).show();
|
||||
form.on("radio(upload_type)", function (data) {
|
||||
app.upload_type = this.value;
|
||||
|
||||
$('.show-type-item').hide();
|
||||
$('.show-type-item.' + this.value).show();
|
||||
});
|
||||
|
||||
ea.listen();
|
||||
|
||||
Reference in New Issue
Block a user