父组件:
<template>
<view class="view">
<!-- 引入子组件 -->
<m-sub></m-sub>
</view>
</template>
<style scoped>
.view {
flex: 1;
background-color: #fff;
}
</style>
子组件
<template>
<view class="view"></view>
</template>
<style scoped>
.view {
height: 200rpx;
background-color: #000;
}
</style>
StarSky
我在源码视图的"nvueCompiler" : "uni-app",下添加了"nvueStyleCompiler": "uni-app",为什么我重启之后运行还是不支持后代选择器,兄弟选择器?
2021-02-07 10:23
汉中李 (作者)
回复 StarSky: 我觉得应该重新编译
2021-02-07 12:41