🎈 perf(优化我的页面样式):

This commit is contained in:
2022-12-13 18:32:08 +08:00
parent b8a7d5634f
commit 25c0ca3ad3
5 changed files with 68 additions and 44 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ export default (props: Param) => {
console.log('openstatus::', openStatus)
useEffect(() => {
Taro.onAppShow((res) => {
if (res?.referrerInfo?.appId == BANk_WX_APPID && !openStatus.current) {
if (res?.referrerInfo?.appId == BANk_WX_APPID && !openStatus.current && props.custMerchId) {
console.log('onAppShow::', res)
callBack?.(res)
const tf = res?.referrerInfo?.extraData?.payStatus == 'success'
@@ -24,7 +24,7 @@ export default (props: Param) => {
openStatus.current = true
}
})
}, [])
}, [props])
const pullBank = () => {
console.log('merchId::', `${merchId}&&${custMerchId}`)