Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
d70b3ffa
Unverified
提交
d70b3ffa
authored
5月 20, 2022
作者:
王嘉豪
提交者:
GitHub
5月 20, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2289 from dataease/pr@dev@refactor_svg
refactor: 修改SvgIcon组件,未找到class显示未发现图标防止报错
上级
47163af0
8f37ee68
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
1 行删除
+5
-1
index.vue
frontend/src/components/SvgIcon/index.vue
+2
-1
non-existent.svg
frontend/src/icons/svg/non-existent.svg
+3
-0
没有找到文件。
frontend/src/components/SvgIcon/index.vue
浏览文件 @
d70b3ffa
...
@@ -14,7 +14,8 @@ export default {
...
@@ -14,7 +14,8 @@ export default {
props
:
{
props
:
{
iconClass
:
{
iconClass
:
{
type
:
String
,
type
:
String
,
required
:
true
required
:
false
,
default
:
'non-existent'
},
},
className
:
{
className
:
{
type
:
String
,
type
:
String
,
...
...
frontend/src/icons/svg/non-existent.svg
0 → 100644
浏览文件 @
d70b3ffa
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1653050060477"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"3697"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
>
@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path
d=
"M512 953.6a441.6 441.6 0 1 1 0-883.2 441.6 441.6 0 0 1 0 883.2z m0-64a377.6 377.6 0 1 0 0-755.2 377.6 377.6 0 0 0 0 755.2z"
p-id=
"3698"
></path><path
d=
"M182.1696 227.4304l45.2608-45.2608 614.4 614.4-45.2608 45.2608z"
p-id=
"3699"
></path></svg>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论