作者 梁鹏山
@@ -41,9 +41,13 @@ Page({ @@ -41,9 +41,13 @@ Page({
41 id: options.id, 41 id: options.id,
42 }) 42 })
43 } else { 43 } else {
44 - that.setData({  
45 - id: options.scene,  
46 - }) 44 + console.log(options.scene);
  45 + let scene = options.scene;
  46 + scene = scene.split('%2C');
  47 + let id = scene[1].split('scene%3A')[1]
  48 + that.setData({
  49 + id: id,
  50 + })
47 } 51 }
48 that.getDetailsContent() 52 that.getDetailsContent()
49 }, 53 },