mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-11 21:12:50 +00:00
1
This commit is contained in:
parent
6d00b7bc02
commit
fbd6630eb1
11
packages/vite-plugin/dist/index.js
vendored
11
packages/vite-plugin/dist/index.js
vendored
@ -1987,11 +1987,14 @@ if (typeof window !== 'undefined') {
|
||||
"scaleX(none)",
|
||||
"scaleY(none)",
|
||||
];
|
||||
nones.forEach((noneStr) => {
|
||||
if (decl.value && decl.value.includes(noneStr)) {
|
||||
if (decl.value) {
|
||||
nones.forEach((noneStr) => {
|
||||
decl.value = decl.value.replace(noneStr, "");
|
||||
}
|
||||
});
|
||||
if (!decl.value) {
|
||||
decl.value = "none";
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
@ -245,11 +245,15 @@ function postcssPlugin(): Plugin {
|
||||
"scaleY(none)",
|
||||
];
|
||||
|
||||
nones.forEach((noneStr) => {
|
||||
if (decl.value && decl.value.includes(noneStr)) {
|
||||
if (decl.value) {
|
||||
nones.forEach((noneStr) => {
|
||||
decl.value = decl.value.replace(noneStr, "");
|
||||
}
|
||||
});
|
||||
|
||||
if (!decl.value) {
|
||||
decl.value = "none";
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user