Commit ca8cc608 authored by lvtz's avatar lvtz

fix

parent be6cef83
......@@ -25,19 +25,8 @@ Page({
// 页面需要的参数sid
let that = this;
// options.scene = 's=3&uuid=d78027dd';
if(options){
const {s,uuid} = options;
that.setData({
sid: s,
uuid: uuid,
},()=>{
that.schoolInfoGet();
})
}else{
// if(options.scene){
// let sceneQuery = scenQueryGet(options.scene);
// const {s,uuid} = sceneQuery;
// if(options){
// const {s,uuid} = options;
// that.setData({
// sid: s,
// uuid: uuid,
......@@ -45,6 +34,17 @@ Page({
// that.schoolInfoGet();
// })
// }else{
if(options.scene){
let sceneQuery = scenQueryGet(options.scene);
const {s,uuid} = sceneQuery;
that.setData({
sid: s,
uuid: uuid,
},()=>{
that.schoolInfoGet();
})
}else{
wx.showModal({
title: '提示',
content: '扫码识别失败,请重新扫码绑定',
......
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