This commit is contained in:
花有清香月有阴
2021-12-31 11:11:56 +08:00
5 changed files with 16 additions and 20 deletions

View File

@@ -164,14 +164,14 @@ export default {
},
goDetail(item, hint) {
console.log('详情', hint)
console.log('详情',hint)
if (hint == 1) {
uni.navigateTo({ url: `./detail?id=${item.id}` })
}
},
toAdd(item, hint) {
console.log('编辑', hint)
console.log('编辑',hint)
if (hint == 2) {
uni.navigateTo({ url: `./add?id=${item.id}` })
} else {