pay/login.vue
@@ -6,9 +6,8 @@ <script> import { config, ACCESSTOKEN } from '@/common/config.js'; config } from 'common/config.js'; export default { data() { return { @@ -17,10 +16,10 @@ }, onLoad(opt) { const redirect_uri = encodeURIComponent(`${config.webURL}/pay/scanpay?cid=${opt.cid}`) /*if(uni.getStorageSync('UNIONID'+this.platform)){ if(uni.getStorageSync('UNIONID'+this.platform)){ window.location.href = redirect_uri return }*/ } uni.clearStorage() if (this.platform == 2) { window.location.href =