强制登录
This commit is contained in:
@@ -20,7 +20,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['injectJWeixin']),
|
||||
...mapActions(['injectJWeixin', 'getAccount']),
|
||||
getUsers() {
|
||||
return Promise.all([
|
||||
// this.$http.post("/app/wxcp/wxuser/list", null, {params: {listType: 0}}).then(res => {
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.injectJWeixin("openEnterpriseChat").then(() => this.$confirm(`确定创建${this.$route.query.groupName}?`))
|
||||
.then(this.getUsers).then(this.handleCreateSuccess).catch(() => 0)
|
||||
.then(this.getAccount).then(this.getUsers).then(this.handleCreateSuccess).catch(() => 0)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user