mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
防止多次点击确定按钮
This commit is contained in:
@@ -1765,7 +1765,7 @@
|
||||
</div>
|
||||
<div class="pubtn">
|
||||
<a-button class="pubtn1" @click="closeModal2">取消</a-button>
|
||||
<a-button class="pubtn2" @click="createG">确定</a-button>
|
||||
<a-button class="pubtn2" :loading="buttonLoading" @click="createG">确定</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
@@ -2262,6 +2262,7 @@ export default {
|
||||
choosedStageIndex: 0,
|
||||
hasTask: false,
|
||||
tabFlag: true,
|
||||
buttonLoading: false,
|
||||
stage: [],
|
||||
stuColumns: [
|
||||
{
|
||||
@@ -3948,14 +3949,15 @@ export default {
|
||||
return message.warn(d[0].leaderName + "已是小组长,请重新选择");
|
||||
}
|
||||
}
|
||||
|
||||
state.isEdit = false;
|
||||
state.buttonLoading = true;
|
||||
await editGroup({ ...state.groupInfo, projectId: state.projectId });
|
||||
message.success(id ? "小组编辑成功" : "小组创建成功");
|
||||
getGroup();
|
||||
console.log("state.groupPageList:");
|
||||
getStu();
|
||||
closeModal2();
|
||||
state.buttonLoading = false;
|
||||
};
|
||||
//搜索小组重置
|
||||
const resetGroupName = () => {
|
||||
|
||||
Reference in New Issue
Block a user