diff --git a/src/components/queryComponent/index.vue b/src/components/queryComponent/index.vue index a2f5904..a35389b 100644 --- a/src/components/queryComponent/index.vue +++ b/src/components/queryComponent/index.vue @@ -106,6 +106,10 @@ export default { methods: { // 批量发布 batchHandle() { + if (this.batchImport.length === 0) { + this.msgInfo('请先选择要批量发布的数据') + return + } this.$confirm('是否确认批量发布?', "警告", { confirmButtonText: "确定", cancelButtonText: "取消",