Update IconFont.vue

This commit is contained in:
TimSpan 2024-09-10 16:48:52 +08:00
parent 41e4464224
commit 18e7d30b9c
1 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,6 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import {onMounted} from "vue";
import {IconFontProps} from "@/types/components/iconfont/IconFont"; import {IconFontProps} from "@/types/components/iconfont/IconFont";
@ -15,9 +14,10 @@ const props = withDefaults(defineProps<IconFontProps>(), {
size: 25, size: 25,
type: "svg" type: "svg"
}); });
onMounted(() => { // import {onMounted} from "vue";
console.log(props.fontClass, props.type); // onMounted(() => {
}); // console.log(props.fontClass, props.type);
// });
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">