解决图层问题
This commit is contained in:
@@ -27,6 +27,7 @@ export default {
|
|||||||
break
|
break
|
||||||
case 'ai':
|
case 'ai':
|
||||||
this.esm = {
|
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')
|
project: require.context('../../project/ai', true, /\.(\/.+)\/App[A-Z][^\/]+\.vue$/, 'lazy')
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ export default {
|
|||||||
formData.append('file', file.file)
|
formData.append('file', file.file)
|
||||||
let loading
|
let loading
|
||||||
if (this.showLoading) {
|
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, {
|
this.instance.post(this.url, formData, {
|
||||||
withCredentials: false
|
withCredentials: false
|
||||||
@@ -406,7 +406,11 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.uploader-loading {
|
||||||
|
z-index: 202408221749;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.uploader {
|
.uploader {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user