easypay-app/libs/iframe.js

15 lines
233 B
JavaScript
Raw Permalink Normal View History

2023-12-25 17:31:07 +08:00
2023-12-20 21:41:47 +08:00
let app = getApp();
/**
* 点击事件判断是否是isIframe页面
*/
export function goPage() {
return new Promise(resolve => {
if (app.globalData.isIframe == false) {
resolve(true);
}else{
return false
}
});
}