vue 数据导入加载样式
importLoad() { this.importLoading = true }, handleSuccess(res, file, fileList) { if(res.code === 200) { this.importData = res.data this.importDataTotal = res.data.length this.importDialog = true this.importLoading = false } else { this.importLoading = false this.$message.error(res.message) } }, handleError(res){ this.importLoading = false this.$message.error(res.message) }, upload class="margin-left" ref="upload" :action="action" :before-upload="importLoad" :on-success="handleSuccess" :on-error="handleError" :show-file-list="false" :accept="fileAccept"> 导入 模板下载
v-loading.fullscreen.lock