uni-agree.js 303 B

1234567891011
  1. export default function(){
  2. console.log(uni.getSystemInfoSync().platform)
  3. let userprotocol = uni.getStorageSync('userprotocol');
  4. console.log('userprotocol',userprotocol);
  5. if(!userprotocol){
  6. uni.navigateTo({
  7. url:'uni_modules/uni-agree/pages/uni-agree/uni-agree',
  8. animationType:"none"
  9. })
  10. }
  11. }