fix: postcss build failed
This commit is contained in:
@@ -86,7 +86,9 @@
|
||||
>
|
||||
<User class="h-5 w-5" />
|
||||
<span class="font-medium">{{ userName }}</span>
|
||||
<ChevronDownIcon class="icon transition-transform duration-300 dropdown-icon" />
|
||||
<ChevronDownIcon
|
||||
class="icon transition-transform duration-300 dropdown-icon"
|
||||
/>
|
||||
</div>
|
||||
<ul
|
||||
tabindex="0"
|
||||
@@ -177,7 +179,7 @@ const handleLogout = () => {
|
||||
// 生命周期钩子
|
||||
onMounted(() => {
|
||||
loadUserInfo();
|
||||
|
||||
|
||||
// 监听路由变化
|
||||
router.afterEach(() => {
|
||||
console.log("Route is changing, reloading user info...");
|
||||
@@ -186,7 +188,7 @@ onMounted(() => {
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style scoped lang="postcss">
|
||||
@import "../assets/main.css";
|
||||
|
||||
.icon {
|
||||
|
||||
Reference in New Issue
Block a user