Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
61d853e6
提交
61d853e6
authored
8月 13, 2021
作者:
无木
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style(types): fix some type statement
上级
1f55c418
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
5 行删除
+9
-5
AppLogo.vue
src/components/Application/src/AppLogo.vue
+1
-1
CopperModal.vue
src/components/Cropper/src/CopperModal.vue
+3
-1
NoticeList.vue
src/layouts/default/header/components/notify/NoticeList.vue
+5
-3
没有找到文件。
src/components/Application/src/AppLogo.vue
浏览文件 @
61d853e6
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
/**
/**
* The theme of the current parent component
* The theme of the current parent component
*/
*/
theme
:
{
type
:
String
,
validator
:
(
v
)
=>
[
'light'
,
'dark'
].
includes
(
v
)
},
theme
:
{
type
:
String
,
validator
:
(
v
:
string
)
=>
[
'light'
,
'dark'
].
includes
(
v
)
},
/**
/**
* Whether to show title
* Whether to show title
*/
*/
...
...
src/components/Cropper/src/CopperModal.vue
浏览文件 @
61d853e6
...
@@ -122,10 +122,12 @@
...
@@ -122,10 +122,12 @@
import
{
isFunction
}
from
'/@/utils/is'
;
import
{
isFunction
}
from
'/@/utils/is'
;
import
{
useI18n
}
from
'/@/hooks/web/useI18n'
;
import
{
useI18n
}
from
'/@/hooks/web/useI18n'
;
type
apiFunParams
=
{
file
:
Blob
;
name
:
string
;
filename
:
string
};
const
props
=
{
const
props
=
{
circled
:
{
type
:
Boolean
,
default
:
true
},
circled
:
{
type
:
Boolean
,
default
:
true
},
uploadApi
:
{
uploadApi
:
{
type
:
Function
as
PropType
<
(
{
file
:
Blob
,
name
:
string
,
filename
:
string
}
)
=>
Promise
<
any
>>
,
type
:
Function
as
PropType
<
(
params
:
apiFunParams
)
=>
Promise
<
any
>>
,
},
},
};
};
...
...
src/layouts/default/header/components/notify/NoticeList.vue
浏览文件 @
61d853e6
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
:style=
"
{ cursor: isTitleClickable ? 'pointer' : '' }"
:style=
"
{ cursor: isTitleClickable ? 'pointer' : '' }"
:delete="!!item.titleDelete"
:delete="!!item.titleDelete"
:ellipsis="
:ellipsis="
$props.titleRows > 0 ? { rows: $props.titleRows, tooltip: item.title } : false
$props.titleRows
&&
$props.titleRows > 0
? { rows: $props.titleRows, tooltip: !!item.title }
: false
"
"
:content="item.title"
:content="item.title"
/>
/>
...
@@ -34,8 +36,8 @@
...
@@ -34,8 +36,8 @@
<a-typography-paragraph
<a-typography-paragraph
style=
"width: 100%; margin-bottom: 0 !important"
style=
"width: 100%; margin-bottom: 0 !important"
:ellipsis=
"
:ellipsis=
"
$props.descRows > 0
$props.descRows
&& $props.descRows
> 0
?
{ rows: $props.descRows, tooltip: item.description }
?
{ rows: $props.descRows, tooltip:
!!
item.description }
: false
: false
"
"
:content="item.description"
:content="item.description"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论