增加前端格式检查配置

This commit is contained in:
yml2213
2026-06-08 06:40:33 +08:00
parent 79ea3a476c
commit 500f511185
150 changed files with 7254 additions and 4013 deletions
+10 -10
View File
@@ -1,19 +1,19 @@
<script setup lang="ts">
import { RouterView } from "vue-router";
import { computed } from "vue";
import { useRoute } from "vue-router";
import { RouterView } from 'vue-router'
import { computed } from 'vue'
import { useRoute } from 'vue-router'
import AdminLayout from "./layouts/AdminLayout.vue";
import AppLayout from "./layouts/AppLayout.vue";
import AdminLayout from './layouts/AdminLayout.vue'
import AppLayout from './layouts/AppLayout.vue'
const route = useRoute();
const route = useRoute()
const layout = computed(() => {
if (route.path === "/m" || route.path.startsWith("/m/")) {
return "blank";
if (route.path === '/m' || route.path.startsWith('/m/')) {
return 'blank'
}
return route.meta.layout || "app";
});
return route.meta.layout || 'app'
})
</script>
<template>