Commit 5b553918 by wufan

fix:去掉wx.ready

parent b6a68018
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: wufan * @Author: wufan
* @Date: 2021-05-11 10:21:37 * @Date: 2021-05-11 10:21:37
* @LastEditors: wufan * @LastEditors: wufan
* @LastEditTime: 2021-06-02 16:10:34 * @LastEditTime: 2021-06-02 16:51:26
* @Description: 企业微信api * @Description: 企业微信api
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -34,7 +34,6 @@ export default class WechatApi { ...@@ -34,7 +34,6 @@ export default class WechatApi {
if (params.isAgentConfig) { if (params.isAgentConfig) {
return new Promise(async (resolve, reject) => { return new Promise(async (resolve, reject) => {
wx.ready(() => {
Service.Hades("anon/hades/getWxWorkJSAPISignature", { Service.Hades("anon/hades/getWxWorkJSAPISignature", {
storeId: User.getStoreId(), storeId: User.getStoreId(),
url: params.url, url: params.url,
...@@ -66,7 +65,6 @@ export default class WechatApi { ...@@ -66,7 +65,6 @@ export default class WechatApi {
}); });
}); });
}); });
});
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment