提交 b63890ea authored 作者: lihuihui's avatar lihuihui

update

上级 48f76f6a
......@@ -255,8 +255,9 @@ export default {
this.$router.push({ path: '/' })
} else {
if (!window.localStorage.openId) {
this.wxAuthorize(res => {
window.localStorage.openId = res.openid
this.wxAuthorize(resId => {
window.localStorage.openId = resId.openid
console.log(res.data, 1)
})
} else {
this.$emit('next', res.data)
......@@ -268,8 +269,10 @@ export default {
this.$router.push({ path: '/' })
} else {
if (!window.localStorage.openId) {
this.wxAuthorize(res => {
window.localStorage.openId = res.openid
this.wxAuthorize(resId => {
window.localStorage.openId = resId.openid
// this.$emit('next', res.data)
console.log(res.data, 2)
})
} else {
this.$emit('next', res.data)
......
......@@ -241,10 +241,10 @@ export default {
},
handleNext(data) {
if (this.setpItem.num !== this.stepList[this.stepList.length - 1].num) {
this.stepIndex++
if (data) {
this.setpItem.payData = data
}
this.stepIndex++
const stringData = {
index: this.stepIndex,
stepList: this.stepList
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论