Commit ef9fe291 by hank

bug

parent f33fa7cd
......@@ -357,7 +357,7 @@ export default {
// todo
axios.post('/weixin/getcode', {
scene: _this.$route.query.id,
page: 'pages/webview/webview'
pages: 'pages/webview/webview'
}).then(res => {
_this.shareCode = res.data.data.weixinCode
_this.shareOnoff2 = true
......@@ -366,7 +366,7 @@ export default {
} else {
axios.post('/weixin/getcode', {
scene: _this.$route.query.id,
page: 'pages/webview/webview'
pages: 'pages/webview/webview'
}).then(res => {
_this.shareCode = res.data.data.weixinCode
_this.shareOnoff2 = true
......
......@@ -41,8 +41,8 @@ export default {
},
activated() {
axios.post('/weixin/getcode', {
scene: '',
page: 'pages/upload/upload'
scene: '999999999',
pages: 'pages/upload/upload'
}).then(res => {
if(res.data.data.weixinCode) {
this.img = res.data.data.weixinCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment