修改前端导入规范.

This commit is contained in:
lijiahang
2023-10-25 10:26:14 +08:00
parent eb2c8eb719
commit d3825ab5b2
125 changed files with 277 additions and 231 deletions

View File

@@ -10,7 +10,7 @@
</template>
<script lang="ts" setup>
import { PropType } from 'vue';
import type { PropType } from 'vue';
import { useRoute } from 'vue-router';
defineProps({
@@ -18,14 +18,14 @@
type: Array as PropType<string[]>,
default() {
return useRoute().matched
.map(s => s.meta?.locale)
.filter(Boolean) || [];
.map(s => s.meta?.locale)
.filter(Boolean) || [];
},
},
});
</script>
<style scoped lang="less">
<style lang="less" scoped>
.container-breadcrumb {
:deep(.arco-breadcrumb-item) {