🎈 perf(优化我的页面样式):
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user