Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
a764a95a
Commit
a764a95a
authored
Jul 19, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(countdown-input): add `slots` support
为CountdownInput组件添加Input的插槽支持
parent
535bdddf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
CountdownInput.vue
src/components/CountDown/src/CountdownInput.vue
+3
-0
No files found.
CHANGELOG.zh_CN.md
View file @
a764a95a
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
-
**MultipleTab**
修复可能会意外创建登录路由标签的问题
-
**MultipleTab**
修复可能会意外创建登录路由标签的问题
-
**BasicTree**
修复搜索功能可能导致
`checkedKeys`
丢失的问题
-
**BasicTree**
修复搜索功能可能导致
`checkedKeys`
丢失的问题
-
**CodeEditor**
修复 value 不支持 v-model 用法的问题
-
**CodeEditor**
修复 value 不支持 v-model 用法的问题
-
**CountdownInput**
修复不支持
`input`
插槽的问题
-
**其它**
-
**其它**
-
修复菜单默认折叠的配置不起作用的问题
-
修复菜单默认折叠的配置不起作用的问题
-
修复
`safari`
浏览器报错导致网站打不开
-
修复
`safari`
浏览器报错导致网站打不开
...
...
src/components/CountDown/src/CountdownInput.vue
View file @
a764a95a
...
@@ -3,6 +3,9 @@
...
@@ -3,6 +3,9 @@
<template
#addonAfter
>
<template
#addonAfter
>
<CountButton
:size=
"size"
:count=
"count"
:value=
"state"
:beforeStartFunc=
"sendCodeApi"
/>
<CountButton
:size=
"size"
:count=
"count"
:value=
"state"
:beforeStartFunc=
"sendCodeApi"
/>
</
template
>
</
template
>
<
template
#[item]=
"data"
v-for=
"item in Object.keys($slots).filter((k) => k !== 'addonAfter')"
>
<slot
:name=
"item"
v-bind=
"data"
></slot>
</
template
>
</a-input>
</a-input>
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment