Commit 51006dee authored by zhengke's avatar zhengke

修改

parent 37ebefcd
......@@ -25,6 +25,7 @@
:interval="5000"
name="picUrl"
:border-radius="0"
@click="clickHandler"
></u-swiper>
</template>
......@@ -46,9 +47,9 @@ export default {
},
methods: {
clickHandler(i) {
if (banners[i].url && banners[i].url.length > 0) {
if (this.banners[i].url && this.banners[i].url.length > 0) {
uni.navigateTo({
url: banners[i].url,
url: this.banners[i].url,
});
}
},
......
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