Files
mht.js/pages/uni-agree/utils/uni-agree.js
2025-10-22 07:50:31 +08:00

11 lines
282 B
JavaScript

export default function(){
console.log(uni.getSystemInfoSync().platform)
let userprotocol = uni.getStorageSync('userprotocol');
console.log('userprotocol',userprotocol);
if(!userprotocol){
uni.navigateTo({
url:'/pages/uni-agree/uni-agree',
animationType:"none"
})
}
}