This commit is contained in:
joylink_cuiweidong 2022-07-25 13:57:45 +08:00
commit 37b527d7cb

View File

@ -126,7 +126,7 @@ export default {
commit() {
this.loading = true;
// if (this.operation) {
commitOperate(menuOperate.Switch.hookLock, {normal: this.normal}, 2).then(({valid})=>{
commitOperate(menuOperate.Switch.hookLock, {normal: this.normal, switchCode: this.selected.code}, 2).then(({valid})=>{
this.loading = false;
if (valid) {
this.doClose();