diff --git a/src/store/index.js b/src/store/index.js index 7bdc4f5e..9be8e9b2 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -354,7 +354,7 @@ const store = new Vuex.Store({ }) }, selectPrivilegedContact(state, params) { - return new Promise(resolve => { + return new Promise((resolve, reject) => { state.dispatch("injectJWeixin", "selectPrivilegedContact").then(() => { setTimeout(() => { let sdk = typeof wx?.invoke == 'function' ? wx : jWeixin