优化第三方存储链接生成,更符合接口规范;优化上传配置文件;

This commit is contained in:
2022-07-12 09:37:14 +08:00
parent 7659dedf08
commit 713f177b5e
8 changed files with 50 additions and 51 deletions

View File

@@ -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();