moreShopAdmin/dist/admin/assets/index.ed1f8f7a.js

2 lines
624 B
JavaScript
Raw Normal View History

2024-08-11 17:04:49 +08:00
import{d as o,b as n,o as c,c as l,a as r,O as i}from"./@vue.18505fe0.js";import{d as _}from"./index.0b236944.js";const u=["xlink:href","fill"],d=o({__name:"index",props:{iconName:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:"#333"},white:{type:Boolean,default:!1}},setup(e){const s=e,t=n(()=>`#icon-${s.iconName}`),a=n(()=>s.className?`svg-icon ${s.className}`:"svg-icon");return(f,m)=>(c(),l("svg",{class:i(a.value),"aria-hidden":"true"},[r("use",{"xlink:href":t.value,fill:e.white?"#fff":e.color},null,8,u)],2))}});const v=_(d,[["__scopeId","data-v-98773690"]]);export{v as _};