Commit 167091fb authored by lvtz's avatar lvtz

fix

parent a4062ddf
......@@ -24,15 +24,26 @@ Page({
// 页面需要的参数sid
let that = this;
// options.scene = 's=3';
if(options.scene){
let sceneQuery = scenQueryGet(options.scene);
const {s} = sceneQuery;
if(options){
console.log(options)
// let sceneQuery = scenQueryGet(options.scene);
let s = options.s;
that.setData({
sid: s,
},()=>{
that.schoolInfoGet();
})
}else{
// if(options.scene){
// let sceneQuery = scenQueryGet(options.scene);
// const {s} = sceneQuery;
// that.setData({
// sid: s,
// },()=>{
// 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