调整图标大小

This commit is contained in:
Mrtangl 2022-04-25 18:53:44 +08:00
parent 43b9d1c793
commit 5d4ef66a04
1 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<div v-if="!route.meta.hidden"> <div v-if="!route.meta.hidden">
<el-sub-menu v-if="hasChildren" :index="path"> <el-sub-menu v-if="hasChildren" :index="path">
<template #title> <template #title>
<i class="iconfont m-r-10" :class="route.meta.icon"></i> <i class="iconfont m-r-10 icon-szie" :class="route.meta.icon"></i>
<span>{{ route.meta.title }}</span> <span>{{ route.meta.title }}</span>
</template> </template>
<template #default> <template #default>
@ -65,9 +65,7 @@ export default defineComponent({
} else { } else {
return JSON.parse(query) return JSON.parse(query)
} }
} catch (error) { } catch (error) {}
}
}) })
return { return {
@ -78,3 +76,9 @@ export default defineComponent({
} }
}) })
</script> </script>
<style lang="scss" scoped>
.iconfont {
font-size: 26px;
}
</style>