错误监听及提供重试事件

This commit is contained in:
aixianling
2023-02-01 13:45:17 +08:00
parent 662800000b
commit 88ad864e29

View File

@@ -64,7 +64,7 @@ export default {
}, },
created() { created() {
this.injectJWeixin("openEnterpriseChat").then(() => this.$confirm(`确定创建${this.$route.query.groupName}?`)) this.injectJWeixin("openEnterpriseChat").then(() => this.$confirm(`确定创建${this.$route.query.groupName}?`))
.then(this.execute).catch(err => { .then(() => this.execute()).catch(err => {
console.error(err) console.error(err)
this.tips = "点击空白处重试" this.tips = "点击空白处重试"
}) })