去掉没有用到的代码

This commit is contained in:
Captain.B 2020-06-08 16:15:13 +08:00
parent cc7efe9497
commit 2a8fab75f0
1 changed files with 0 additions and 6 deletions

View File

@ -301,9 +301,6 @@
}); });
}, },
createTestResourcePool(createTestResourcePoolForm) { createTestResourcePool(createTestResourcePoolForm) {
if (this.result.loading) {
return;
}
this.$refs[createTestResourcePoolForm].validate(valid => { this.$refs[createTestResourcePoolForm].validate(valid => {
if (valid) { if (valid) {
let vri = this.validateResourceInfo(); let vri = this.validateResourceInfo();
@ -340,9 +337,6 @@
this.form.resources = resources; this.form.resources = resources;
}, },
updateTestResourcePool(updateTestResourcePoolForm) { updateTestResourcePool(updateTestResourcePoolForm) {
if (this.result.loading) {
return;
}
this.$refs[updateTestResourcePoolForm].validate(valid => { this.$refs[updateTestResourcePoolForm].validate(valid => {
if (valid) { if (valid) {
let vri = this.validateResourceInfo(); let vri = this.validateResourceInfo();