uniapp父组件传统子组件的方法

757 阅读1分钟

父组件穿透子组件,使用scss写/deep/不生效的时候,需要在组件配置下面信息

export default {
    options: { styleIsolation: 'shared' }
}