微信sdk更新,修正上传门头照照片错误
This commit is contained in:
@@ -137,6 +137,7 @@ export default function StoreCreatePage() {
|
||||
useEffect(() => {
|
||||
if (step !== 2 || !isWechatEnv()) return;
|
||||
void refresh();
|
||||
weixinSdk.reset();
|
||||
void weixinSdk.init().catch(() => {
|
||||
/* OssUploadField 点击时会再次初始化 */
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user