如下代码,微信小程序调试正常,在Chrome的H5调试模式下报错。
<navigator open-type="navigateBack" :delta="1">
<view class="tad-icon tad-icon-left-circle"></view>
</navigator>
IDE运行环境说明
[HBuilderX]
[IDE版本号]1.5.4
[windows版本号]2012
[mac版本号]
报错:
[system] <navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab
2 个回复
1***@qq.com (作者)
<navigator open-type="navigateBack" :delta="1">
<view class="tad-icon tad-icon-left-circle"></view>
</navigator>
1***@qq.com (作者)
发布问题时代码被过滤了。