Commit ef9fe291 by hank

bug

parent f33fa7cd
...@@ -357,7 +357,7 @@ export default { ...@@ -357,7 +357,7 @@ export default {
// todo // todo
axios.post('/weixin/getcode', { axios.post('/weixin/getcode', {
scene: _this.$route.query.id, scene: _this.$route.query.id,
page: 'pages/webview/webview' pages: 'pages/webview/webview'
}).then(res => { }).then(res => {
_this.shareCode = res.data.data.weixinCode _this.shareCode = res.data.data.weixinCode
_this.shareOnoff2 = true _this.shareOnoff2 = true
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
} else { } else {
axios.post('/weixin/getcode', { axios.post('/weixin/getcode', {
scene: _this.$route.query.id, scene: _this.$route.query.id,
page: 'pages/webview/webview' pages: 'pages/webview/webview'
}).then(res => { }).then(res => {
_this.shareCode = res.data.data.weixinCode _this.shareCode = res.data.data.weixinCode
_this.shareOnoff2 = true _this.shareOnoff2 = true
......
...@@ -41,8 +41,8 @@ export default { ...@@ -41,8 +41,8 @@ export default {
}, },
activated() { activated() {
axios.post('/weixin/getcode', { axios.post('/weixin/getcode', {
scene: '', scene: '999999999',
page: 'pages/upload/upload' pages: 'pages/upload/upload'
}).then(res => { }).then(res => {
if(res.data.data.weixinCode) { if(res.data.data.weixinCode) {
this.img = 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