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