mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-21 03:15:46 +08:00
新增 选择检查
This commit is contained in:
parent
3f27ed72e2
commit
047e90078f
@ -319,6 +319,9 @@ export default {
|
||||
for (const iterator of this.multipleSelection) {
|
||||
uuids.push(iterator.instanceUuid);
|
||||
}
|
||||
if (uuids.length === 0) {
|
||||
return this.$message({ type: "error", message: "请至少选择一项" });
|
||||
}
|
||||
await axios.request({
|
||||
method: "DELETE",
|
||||
url: API_INSTANCE,
|
||||
|
Loading…
Reference in New Issue
Block a user