This commit is contained in:
xiaozhiyong
2023-05-16 11:15:06 +08:00
parent 4655bddd4d
commit 0278c43533

View File

@@ -157,14 +157,14 @@ export default {
} }
serve.orderSuccess({ id: this.controlWindows.addInfo.id, ...targetPolicy[0] }).then(res => { serve.orderSuccess({ id: this.controlWindows.addInfo.id, ...targetPolicy[0] }).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
this.getByPage() this.closeWindow()
} }
}) })
return return
} }
serve.orderSuccess({ id: this.controlWindows.addInfo.id }).then(res => { serve.orderSuccess({ id: this.controlWindows.addInfo.id }).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
this.getByPage() this.closeWindow()
} }
}) })
}, },