支持 Vue 3.2.x 语法升级为,script setup

This commit is contained in:
xiaoma
2021-08-14 14:35:42 +08:00
parent d3f7fa0f9e
commit 905984367c
71 changed files with 2362 additions and 2116 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
<template>
<div class="logo">
<img src="~@/assets/images/logo.png" alt="" />
<img src="~@/assets/images/logo.png" alt="" :class="{ 'mr-2': !collapsed }" />
<h2 v-show="!collapsed" class="title">NaiveUiAdmin</h2>
</div>
</template>
@@ -29,7 +29,6 @@
img {
width: auto;
height: 32px;
margin-right: 10px;
}
.title {