diff --git a/examples/router/autoRoutes.js b/examples/router/autoRoutes.js index 3f491501..53bdc4ac 100644 --- a/examples/router/autoRoutes.js +++ b/examples/router/autoRoutes.js @@ -27,6 +27,7 @@ export default { break case 'ai': this.esm = { + biaopin: require.context('../../project/biaopin/AppCopilotConfig', true, /\.\/App[A-Z][^\/]+\.vue$/, 'lazy'), project: require.context('../../project/ai', true, /\.(\/.+)\/App[A-Z][^\/]+\.vue$/, 'lazy') } break diff --git a/ui/packages/basic/AiUploader.vue b/ui/packages/basic/AiUploader.vue index ed1b66d8..f97f5a1c 100644 --- a/ui/packages/basic/AiUploader.vue +++ b/ui/packages/basic/AiUploader.vue @@ -323,7 +323,7 @@ export default { formData.append('file', file.file) let loading if (this.showLoading) { - loading = this.$loading({lock: true, text: '上传中...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)'}) + loading = this.$loading({lock: true, text: '上传中...', spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)', customClass: 'uploader-loading'}) } this.instance.post(this.url, formData, { withCredentials: false @@ -406,7 +406,11 @@ export default { }, } - +