在uniapp中 <navigator>标签 变成组件 它的url属性不生效呀 这是组件代码我不知道问题出现在哪儿了

请各位帮忙


```<template>
    <view>
        <view class="navigation">
            <navigator  url="../pages/index/index" class="logo"></navigator>
        </view>
    </view>
</template>
<script>
    export default {
        name:"navigation01",
        data() {
            return {    
            };
        },
        methods:{
        }
    }
</script>
<style>
    navigation{
        width: 100rpx;
        height: 100rpx;
        background-color: #333333;
        }
</style>


img


它没有子元素 你是怎么触发它的?

兄弟,我好像明白你的意思了

我想了3天 终于知道问题在哪儿了 ~~!!!!