diff --git a/src/components/generator/config.js b/src/components/generator/config.js index d620331..bc9bf4f 100644 --- a/src/components/generator/config.js +++ b/src/components/generator/config.js @@ -494,14 +494,14 @@ export const selectComponents = [ buttonText: '点击上传', regList: [], changeTag: true, - fileSize: 1, + fileSize: 10, sizeUnit: 'MB', document: 'https://element.eleme.cn/#/zh-CN/component/upload' }, __slot__: { 'list-type': true }, - action: 'https://api.freebrio.com/api/v1/file/upload', + action: '/tduck-api/project/file/upload/', disabled: false, accept: '', name: 'file', diff --git a/src/components/parser/Parser.vue b/src/components/parser/Parser.vue index ea1290f..7af4f54 100644 --- a/src/components/parser/Parser.vue +++ b/src/components/parser/Parser.vue @@ -1,5 +1,5 @@