diff --git a/.stylelintrc b/.stylelintrc index 9a6b84c..a848b99 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -35,6 +35,14 @@ ] } ], + "property-no-vendor-prefix": [ + true, + { + "ignoreProperties": [ + "mask-image" + ] + } + ], "max-line-length": null } } diff --git a/src/layout/components/Topbar/index.vue b/src/layout/components/Topbar/index.vue index d15bbc8..5e5165d 100644 --- a/src/layout/components/Topbar/index.vue +++ b/src/layout/components/Topbar/index.vue @@ -92,8 +92,8 @@ function pathCompile(path) { align-items: center; padding-right: 50px; overflow: hidden; - /* stylelint-disable-next-line property-no-vendor-prefix */ -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent); + mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent); .sidebar-collapse { display: flex; align-items: center; diff --git a/src/views/index.vue b/src/views/index.vue index 17746bf..34b63d4 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -150,8 +150,7 @@ const oneStepAdminInfo = ref({