新增 选择检查

This commit is contained in:
Suwings 2022-01-23 19:36:46 +08:00
parent 3f27ed72e2
commit 047e90078f

View File

@ -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,