Commit 3b52ed93 authored by 华国豪's avatar 华国豪 🙄
parents 3f356f22 8429f32e
...@@ -81,12 +81,13 @@ Page({ ...@@ -81,12 +81,13 @@ Page({
*/ */
onLoad: function (options) { onLoad: function (options) {
const scene = decodeURIComponent(options.scene) const scene = decodeURIComponent(options.scene)
console.log(scene)
if (scene) { if (scene) {
let tcId = scene.split('=')[1] ? scene.split('=')[1] : options.tcid; let tcId = scene.split('=')[1] ? scene.split('=')[1] : options.tcid;
// let tcId = 4006 // let tcId = 4006
// this.setData({ this.setData({
// tcId: tcId tcId: tcId
// }) })
}else{ }else{
// this.setData({ // this.setData({
// tcId: 3278 // tcId: 3278
......
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