使用 StyleProvider 取消默认的降权操作无效,样式中依旧使用的是::where选择器
Closed this issue · 2 comments
qimiaojiyihou commented
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
chrome
Reproduction link
Steps to reproduce
app.vue中使用了,查看控制台依旧是where选择器
What is expected?
能正常将css降级
What is actually happening?
css未降级
qimiaojiyihou commented
在依赖中没有发现a-style-provider组件
cc-hearts commented
<script>
+ import { StyleProvider } from 'ant-design-vue';
export default {
name: "App",
components: {
+ AStyleProvider: StyleProvider
},
setup() {
return {
open: () => {
window.open("https://antdv.com", "_blank");
},
};
},
};
</script>