Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
f96d6b22
提交
f96d6b22
authored
10月 20, 2020
作者:
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf: code style
上级
894b63b8
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
8 行增加
和
7 行删除
+8
-7
index.tsx
src/components/Icon/index.tsx
+1
-2
BasicLoading.vue
src/components/Loading/BasicLoading.vue
+0
-2
FullLoading.vue
src/components/Loading/FullLoading.vue
+1
-1
index.vue
src/components/Markdown/src/index.vue
+0
-1
BasicMenu.tsx
src/components/Menu/src/BasicMenu.tsx
+1
-1
index.less
src/layouts/default/index.less
+5
-0
没有找到文件。
src/components/Icon/index.tsx
浏览文件 @
f96d6b22
...
...
@@ -53,8 +53,6 @@ export default defineComponent({
}
};
watch
(()
=>
props
.
icon
,
update
,
{
flush
:
'post'
});
const
wrapStyleRef
=
computed
(():
any
=>
{
const
{
size
,
color
}
=
props
;
let
fs
=
size
;
...
...
@@ -68,6 +66,7 @@ export default defineComponent({
};
});
watch
(()
=>
props
.
icon
,
update
,
{
flush
:
'post'
});
onMounted
(
update
);
return
()
=>
(
...
...
src/components/Loading/BasicLoading.vue
浏览文件 @
f96d6b22
...
...
@@ -15,8 +15,6 @@
// components
import
{
defineComponent
,
computed
}
from
'vue'
;
// hook
import
{
SizeEnum
,
sizeMap
}
from
'/@/enums/sizeEnum'
;
import
{
BasicLoadingProps
}
from
'./type'
;
...
...
src/components/Loading/FullLoading.vue
浏览文件 @
f96d6b22
...
...
@@ -21,7 +21,6 @@
absolute
:
Boolean
as
PropType
<
boolean
>
,
},
setup
(
props
)
{
// 样式前缀
const
getStyle
=
computed
(():
any
=>
{
return
props
.
absolute
?
{
...
...
@@ -32,6 +31,7 @@
}
:
{};
});
return
{
getStyle
,
SizeEnum
};
},
});
...
...
src/components/Markdown/src/index.vue
浏览文件 @
f96d6b22
...
...
@@ -29,7 +29,6 @@
setup
(
props
,
{
attrs
,
emit
})
{
const
wrapRef
=
ref
<
Nullable
<
HTMLDivElement
>>
(
null
);
const
vditorRef
=
ref
<
Nullable
<
Vditor
>>
(
null
);
const
initedRef
=
ref
(
false
);
function
init
()
{
...
...
src/components/Menu/src/BasicMenu.tsx
浏览文件 @
f96d6b22
...
...
@@ -66,7 +66,7 @@ export default defineComponent({
offset
+=
54
;
}
return
{
height
:
`calc(100% -
${
offset
}
px)`
,
height
:
`calc(100% -
${
offset
-
30
}
px)`
,
position
:
'relative'
,
overflow
:
'auto'
,
};
...
...
src/layouts/default/index.less
浏览文件 @
f96d6b22
...
...
@@ -417,3 +417,8 @@
padding: 0 16px;
flex-grow: 1;
}
.ant-layout-sider-trigger {
height: 30px;
line-height: 30px;
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论