This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
hly
/
recruitment-wechat-uniapp-241012
generated from
hly/uniapp-shop-templates
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fix: 修复登录状态提交参数不一致问题
将wxLogin.vue中的登录提交参数移除,与index.vue中的登录提交保持一致 将config.js中的环境配置从dev改为prod
master
前端-胡立永
19 hours ago
parent
628e6eb9c7
commit
7aac9f1358
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config.js
+1
-1
pages/index/index.vue
+1
-1
pages_order/auth/wxLogin.vue
+ 1
- 1
config.js
View File
@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue
.
use
(
uvUI
)
;
// 当前环境
const
type
=
'd
ev
'
const
type
=
'
pro
d'
// 环境配置
+ 1
- 1
pages/index/index.vue
View File
@ -142,7 +142,7 @@
onLoad
(
query
)
{
if
(
query
.
shareId
)
{
uni
.
setStorageSync
(
'shareId'
,
query
.
shareId
)
this
.
$store
.
commit
(
'login'
)
this
.
$store
.
commit
(
'login'
,
true
)
}
uni
.
$on
(
'initConfig'
,
(
e
)
=>
{
this
.
config_other_job
=
e
.
config_other_job
+ 1
- 1
pages_order/auth/wxLogin.vue
View File
@ -70,7 +70,7 @@
icon
:
'none'
}
)
}
this
.
$store
.
commit
(
'login'
,
true
)
this
.
$store
.
commit
(
'login'
)
}
,
qux
(
)
{
uni
.
reLaunch
(
{
Write
Preview
Loading…
Cancel
Save