|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-07-08 11:46:30
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-07-12 10:55:29
|
|
|
|
|
* @LastEditTime: 2022-07-12 10:57:40
|
|
|
|
|
* @Description: file content
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@ import '@/common/utils/uniUtilsIndex'
|
|
|
|
|
const ua = navigator ? navigator.userAgent.toLowerCase() : '';
|
|
|
|
|
|
|
|
|
|
if (ua.includes('micromessenger')) {
|
|
|
|
|
const openId = localStorage.getItem('openId');
|
|
|
|
|
const openId = localStorage.getItem('payOpenId');
|
|
|
|
|
if (!openId) {
|
|
|
|
|
let query = FormatSearchJson(window.location.search);
|
|
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ if (ua.includes('micromessenger')) {
|
|
|
|
|
// uni.$u.toast(error.message);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
store.commit('SET_OPEN_ID', result.openId);
|
|
|
|
|
localStorage.setItem('payOpenId', result.openId);
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|