vueComponent/ant-design-vue

使用 StyleProvider 取消默认的降权操作无效,样式中依旧使用的是::where选择器

Closed this issue · 2 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

app.vue中使用了,查看控制台依旧是where选择器

What is expected?

能正常将css降级

What is actually happening?

css未降级

在依赖中没有发现a-style-provider组件

<script>
+ import { StyleProvider } from 'ant-design-vue';

export default {
  name: "App",
  components: {
+    AStyleProvider: StyleProvider
  },
  setup() {
    return {
      open: () => {
        window.open("https://antdv.com", "_blank");
      },
    };
  },
};
</script>