Commit 562a1e21 by 高淑倩

分类列表参数

parent 6d630928
......@@ -46,6 +46,7 @@ wxService.page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log('options', options)
if (options && options.id) {
this.setData({
'form.mallCategoryId': options.id
......
......@@ -145,7 +145,8 @@ HandlerLinkRow.prototype = {
} else if (type == 8) {
return `${item.url}`
} else if (type == 9) {
return `id=${item.url}&name=${item.name}`
// return `id=${item.url}&name=${item.name}`
return `${item.url}`
}
}
}
......
......@@ -6,7 +6,6 @@ function currentLinkRouter(event, _this) {
let curItemType = ev.item
const userInfo = wx.getStorageSync('_baseUserInfo')
// link row
if (curItemType.link) {
//处理返回值是空对象时 导致跳转失败
if (Object.keys(curItemType.link).length > 0){
......@@ -85,6 +84,7 @@ function currentLinkRouter(event, _this) {
}
else if (rowObj.type == 9) {
// 分类
console.log('aaaacurrentClickType',currentClickType)
wxService.router(`/subPackage/page/pages/categoryPro/categoryPro?id=${currentClickRow}`)
}
}
......
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