|
@@ -42,20 +42,6 @@ export default defineComponent({
|
|
|
if (!browser().weixin) {
|
|
|
this.showPopup = true
|
|
|
}
|
|
|
- // if (browser().weixin) {
|
|
|
- // 微信公众号支付
|
|
|
- //授权
|
|
|
- // const code = getUrlCode()
|
|
|
- // console.log('login mounted code: ' + code)
|
|
|
- // if (!code) {
|
|
|
- // this.getAppIdAndCode()
|
|
|
- // } else {
|
|
|
- // this.code = code
|
|
|
- // }
|
|
|
- // this.getAppIdAndCode()
|
|
|
- // } else {
|
|
|
- // this.showPopup = true
|
|
|
- // }
|
|
|
},
|
|
|
methods: {
|
|
|
async getAppIdAndCode(url?: string) {
|