Commit 7b065fd0 by zeven

修复云值守店二维码

parent 3377c57d
......@@ -438,10 +438,11 @@ class FacePage extends Component {
};
setQrcode = ({action, tip, qrcode}) => {
let p = 'j';
if (this.sense) p = 's';
if (this.state.stype === 'guard') p = 'g';
const state = {
qrCode: `${qrHost}/#/store-${action || 'leave'}-${
this.sense ? 's' : 'j'
}${this.storeKey}`,
qrCode: `${qrHost}/#/store-${action || 'leave'}-${p}${this.storeKey}`,
};
if (tip) {
state.tip = tip;
......
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 to comment