BUG 修改
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
@cancel="handleCancel"
|
||||
cancelText="关闭">
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form :form="form">
|
||||
<a-form :form="form" v-if="memberList.length > 0">
|
||||
<a-row>
|
||||
<a-col :span="2"></a-col>
|
||||
<a-col :span="20">
|
||||
@@ -25,6 +25,7 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
<a-empty v-else></a-empty>
|
||||
</a-spin>
|
||||
<template slot="footer">
|
||||
<a-button @click="handleCancel">关闭</a-button>
|
||||
@@ -147,6 +148,10 @@ export default {
|
||||
this.memberList = []
|
||||
},
|
||||
handleOk() {
|
||||
if (this.memberList.length === 0) {
|
||||
this.$message.warn('当前工作组暂无成员,无法分发文件')
|
||||
return
|
||||
}
|
||||
if (this.checkedKeys.length === 0) {
|
||||
this.form.validateFields()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user