36 lines
616 B
Vue
Raw Normal View History

2023-01-06 23:19:26 +08:00
<!--
* @Author: Kane
* @Date: 2023-01-06 20:33:57
* @LastEditors: Kane
2023-01-07 18:26:15 +08:00
* @LastEditTime: 2023-01-07 17:10:07
2023-01-06 23:19:26 +08:00
* @FilePath: \admin_system\src\components\svg\SvgIcon.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
2023-01-07 18:26:15 +08:00
svg-icon:{{ this.iconName }}
2023-01-06 23:19:26 +08:00
</template>
<script>
export default {
name: "svg-icon",
2023-01-07 18:26:15 +08:00
data()
{
return {
iconName: ""
};
},
props: ["icon"],
created()
{
console.log("svg");
console.log(this.icon);
this.iconName = this.icon;
},
2023-01-06 23:19:26 +08:00
};
</script>
<style scoped>
</style>