style(pl): 使用自动导入的容器尺寸工具以遵循工程约定。

This commit is contained in:
wuzilong committed 2026-11-01 22:30:41 +08:00
1 parent bd90d2099f
commit b9fa9e1ad1
2 files changed
+1 -1

No files matched your search

@@ -583,6 +583,7 @@ function compiledSfc(path: string, dependencies: Record<string, any>, inlineTemp
const env: Record<string, any> = Object.fromEntries(
Object.entries(vue).filter(([key]) => /^[a-zA-Z_$][\w$]*$/.test(key) && key !== 'default')
)
Object.assign(env, dependencies)
for (const statement of source.statements) {
if (!ts.isImportDeclaration(statement) || statement.importClause?.isTypeOnly) continue
const clause = statement.importClause
@@ -142,7 +142,6 @@
</section>
</template>
<script setup lang="ts">
import { useElementSize } from '@vueuse/core'
import { Edit, Refresh, RefreshLeft } from '@element-plus/icons-vue'
import { fetchGetMenuCodes } from '@/api/auth'
import { useUserStore } from '@/store/modules/user'