防止修改权限连击
This commit is contained in:
parent
e6c6ada291
commit
6ed365124b
@ -288,6 +288,7 @@ function assignment(row: any) {
|
||||
const params = {
|
||||
roleId: rowid.value
|
||||
}
|
||||
isCombo.value = false
|
||||
assignmentPer(params).then((res: any) => {
|
||||
accessdata.value = res
|
||||
let ids: any = []
|
||||
@ -310,6 +311,10 @@ function accesssubmit() {
|
||||
id: rowid.value,
|
||||
menuIds: Passparameter.value.toString()
|
||||
}
|
||||
if(isCombo.value == true){
|
||||
return
|
||||
}
|
||||
isCombo.value = true
|
||||
setMenuById(parans).then((res) => {
|
||||
accessVisible.value = false
|
||||
gettableData()
|
||||
@ -317,7 +322,10 @@ function accesssubmit() {
|
||||
type: "success",
|
||||
message: "修改成功",
|
||||
});
|
||||
}).finally(() => {
|
||||
isCombo.value = false
|
||||
})
|
||||
|
||||
}
|
||||
// 多选删除?
|
||||
function delClick() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user