Commit c5133843 by 高淑倩

add: 动态类型注释

parent 43c1eae8
......@@ -66,7 +66,7 @@ Component({
}
if (link.type == 2) {
// 触发父组件更新页面
// 触发父组件更新页面 内部子页面
wxService.nextTick(() => {
this.triggerEvent('updatePage', { pageId: currentClickType.url })
})
......@@ -76,9 +76,9 @@ Component({
current: `${app.globalData.imageUrl}/${currentClickType.imageUrl}`, // 当前显示图片的http链接
urls: [`${app.globalData.imageUrl}/${currentClickType.link.url}`] // 需要预览的图片http链接列表
})
} else if (link.type == 4) {
} else if (link.type == 4) { // 内部固定功能
wxService.router(`${currentClickType}`)
} else if (link.type == 5) {
} else if (link.type == 5) { // 微信卡券 -- 卡包/领卡
if (currentClickType == 1) {
wxService.openCard()
} else if (currentClickType == 2) {
......
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