fix:修改 查询机柜的参数

This commit is contained in:
zhangyu
2021-05-27 14:09:02 +08:00
parent 7e0083d0df
commit 4fca3c43db
7 changed files with 27 additions and 8 deletions

View File

@@ -72,7 +72,7 @@ export default {
this.prevent_opt.save = true
this.$refs.cabinetForm.validate(valid => {
if (valid) {
this.editCabinet.dcId = this.currentDc.id
this.editCabinet.dcIds = this.currentDc.id
if (this.editCabinet.id) {
this.$put('/dc/cabinet', this.editCabinet).then(res => {
this.prevent_opt.save = false