uniapp生成的H5在微信环境下 第一次进入,卡屏

This commit is contained in:
Gao xiaosong
2020-12-19 13:56:31 +08:00
parent 661bc04122
commit 0a6107644e

View File

@ -103,6 +103,10 @@ import { getHomeData, getShare } from "@/api/public";
import cookie from "@/utils/store/cookie";
import { isWeixin, handleUrlParam } from "@/utils/index";
import {
openShareAll,
} from '@/libs/wechat'
const HAS_COUPON_WINDOW = "has_coupon_window";
export default {
@ -309,7 +313,7 @@ export default {
link: location.href,
imgUrl: data.img,
};
this.openShareAll(configAppMessage);
openShareAll(configAppMessage);
});
}
},