Commit 4ef46c09 by 前端

Merge branch 'v1.0.2' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.2

2 parents 48e179f7 f1cbb825
...@@ -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!