ruoyi-ui/src/views/demo/demo/index.vue
@@ -77,7 +77,6 @@ plain icon="el-icon-download" size="mini" :loading="exportLoading" @click="handleExport" v-hasPermi="['demo:demo:export']" >导出</el-button> @@ -181,8 +180,6 @@ buttonLoading: false, // 遮罩层 loading: true, // 导出遮罩层 exportLoading: false, // 选中数组 ids: [], // 非单个禁用 @@ -358,7 +355,9 @@ }, /** 导出按钮操作 */ handleExport() { this.$download.excel('/demo/demo/export', this.queryParams); this.download('demo/demo/export', { ...this.queryParams }, `demo_${new Date().getTime()}.xlsx`) } } };