以下记录为首次开发uniapp中碰到的填坑总结,特此记录:
1、switchTab跳转tab页时url必须加/
uni.switchTab({
url: '/pages/home/home'
})
2、HBuilder报以下错误是async await语法错误了,检查对应关系
语法错误: Unexpected token, expected ";"
以下记录为首次开发uniapp中碰到的填坑总结,特此记录:
uni.switchTab({
url: '/pages/home/home'
})
语法错误: Unexpected token, expected ";"