线路:福州

问题:修改福州信号关灯操作中,没有关闭一次弹窗的问题
This commit is contained in:
ival 2021-03-08 09:17:18 +08:00
parent c841a6457c
commit c4af252a3e
2 changed files with 4 additions and 3 deletions

View File

@ -276,6 +276,7 @@ export default {
commitOperate(operate, {}, 2).then(({valid})=>{ commitOperate(operate, {}, 2).then(({valid})=>{
this.loading = false; this.loading = false;
if (valid) { if (valid) {
this.$emit('close');
this.doClose(); this.doClose();
} }
}).catch(() => { }).catch(() => {

View File

@ -36,10 +36,10 @@
<el-button :id="domIdCancel" @click="cancel">{{ $t('menu.cancel') }}</el-button> <el-button :id="domIdCancel" @click="cancel">{{ $t('menu.cancel') }}</el-button>
</el-col> </el-col>
</el-row> </el-row>
<confirm-control ref="confirmControl" :pop-class="popClass" /> <confirm-control ref="confirmControl" :pop-class="popClass" @close="doClose" />
<ning-bo-confirm-tip ref="ningBoConfirmTip" @close="doClose" />
<password-box ref="password" :pop-class="popClass" @checkOver="passWordCommit" /> <password-box ref="password" :pop-class="popClass" @checkOver="passWordCommit" />
<notice-info ref="noticeInfo" :pop-class="popClass" /> <notice-info ref="noticeInfo" :pop-class="popClass" />
<ning-bo-confirm-tip ref="ningBoConfirmTip" @close="doClose" />
</el-dialog> </el-dialog>
</template> </template>