Commit f1cbb825 by 李伟康

commit 提交

1 parent 456c552e
...@@ -11,8 +11,8 @@ module.exports = { ...@@ -11,8 +11,8 @@ module.exports = {
data.projectName = 'boutique' data.projectName = 'boutique'
data.source = 'MINIAPP' data.source = 'MINIAPP'
data.productCode = 'PC00c2' data.productCode = 'PC00c2'
// return http.fetch('dj.api.smartcarlife.sms.login', data) return http.fetch('dj.api.smartcarlife.sms.login', data)
return http.fetch('dj.api.smartcarlife.sms.applogin', data) // return http.fetch('dj.api.smartcarlife.sms.applogin', data)
}, },
/**免登 */ /**免登 */
autoLogin (data = {}) { autoLogin (data = {}) {
......
...@@ -108,10 +108,21 @@ export default { ...@@ -108,10 +108,21 @@ export default {
}; };
}, },
computed: { computed: {
watchStatus () {
return this.$store.state.user.canvasStatus
},
penSwitch () { penSwitch () {
return this.type != 'preview' && this.drawStatus return this.type != 'preview' && this.drawStatus
} }
}, },
watch: {
watchStatus: {
immediate: true,
handler (newval) {
if (newval) this.drawStatus = false
}
},
},
mounted () { mounted () {
this.findPayInfo(); this.findPayInfo();
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!