diff --git a/src/components/loading-bar/index.js b/src/components/loading-bar/index.js
index dae68a5..c6b031a 100644
--- a/src/components/loading-bar/index.js
+++ b/src/components/loading-bar/index.js
@@ -44,6 +44,8 @@ function clearTimer() {
export default {
start () {
+ if (timer) return;
+
let percent = 0;
update({
diff --git a/src/styles/components/date-picker.less b/src/styles/components/date-picker.less
index f8da8fa..1270c03 100644
--- a/src/styles/components/date-picker.less
+++ b/src/styles/components/date-picker.less
@@ -192,6 +192,9 @@
padding: @btn-padding-large;
transition: all @transition-time @ease-in-out;
cursor: pointer;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
&:hover{
background: @border-color-split;
diff --git a/test/routers/date.vue b/test/routers/date.vue
index 5b1ad95..fbe5a11 100644
--- a/test/routers/date.vue
+++ b/test/routers/date.vue
@@ -59,7 +59,7 @@
}
},
{
- text: '一周前',
+ text: '最近三个月',
value () {
const date = new Date();
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
diff --git a/test/routers/more.vue b/test/routers/more.vue
index 5d15e79..e04eed1 100644
--- a/test/routers/more.vue
+++ b/test/routers/more.vue
@@ -22,9 +22,22 @@
Col 2
Col 3
+ Start
+ Finish
+ Error
--
libgit2 0.21.4