Merge branch 'master' of http://114.215.101.231:8099/yangshixiong/chemai2
正在显示
1 个修改的文件
包含
7 行增加
和
3 行删除
@@ -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 | }, |
-
请 注册 或 登录 后发表评论