uniapp uni_modules 组件a.vue 调用b.vue

uniapp uni_modules 组件a.vue 调用b.vue

uniapp uni_modules 组件a.vue 调用b.vue,h5没问题,微信小程序用不了。何解?
在线等。
a.vue

<template>

<view class="treeSelect">

<treeSelectOne @getChooseValue="getValue" :data="data"></treeSelectOne>

</view>

</template>

import treeSelectOne from "./treeSelectOne.vue"

export default {

name: "treeSelect",

components: {

treeSelectOne

},

b.vue,treeSelectOne同时递归。

<template>

<view>

<treeSelectOne @getChooseValue="getValue" :data="item.children" v-if="item.children !== undefined"></treeSelectOne>

</view>

</template>

import treeSelectOne from "./treeSelectOne.vue"

export default {

name: "treeSelectOne",

components: {

'treeSelectOne':treeSelectOne

},

以上是 uniapp uni_modules 组件a.vue 调用b.vue 的全部内容, 来源链接: utcz.com/p/936008.html

回到顶部