解决图层问题

This commit is contained in:
aixianling
2024-08-22 17:52:54 +08:00
parent 43e7f044f3
commit 7d4c79ce1a
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

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