提交 4523c5f0 编写于 作者: wowkaka's avatar wowkaka

修复一些问题

上级 c64f486d
......@@ -14,6 +14,7 @@ Page({
*/
onLoad: function (options) {
console.log(options);
let projectId = null;
if (typeof (options.scene) == "undefined") {
projectId = options.id;
......
......@@ -89,7 +89,7 @@ Page({
console.log('cloud res:', res)
console.log(res.result.res._id);
wx.navigateTo({
url: '../detail/detail?id'+res.result.res._id,
url: '../detail/detail?id='+res.result.res._id,
})
}).catch(err => {
console.log('err:', err)
......@@ -99,7 +99,10 @@ Page({
// 检查参数是否合格
this.isAuthorize(function (res) {
createProject(res._id);
// console.log(res);
if(res){
createProject(res._id);
}
});
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册