|
|
@@ -530,7 +530,7 @@ export const actions = {
|
|
|
commit('option/REQUEST_WECHATINFO_STATUS_SUCCESS', response.data)
|
|
|
if (response.data.status >= 0) {
|
|
|
// 有状态
|
|
|
- if (id !== '' && !id) {
|
|
|
+ if (id !== '' && id && id !== undefined) {
|
|
|
response.data.openid = id
|
|
|
}
|
|
|
localStorage.setItem('USOFTMALLWECHATINFO', JSON.stringify(response.data))
|