mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-03 03:18:12 +00:00
no msg
This commit is contained in:
parent
7367a769b1
commit
33bd39859d
@ -6,14 +6,14 @@
|
|||||||
ref="input"
|
ref="input"
|
||||||
v-model="content"
|
v-model="content"
|
||||||
:disabled="isLoad"
|
:disabled="isLoad"
|
||||||
@on-keyup="onKeyup"
|
@on-keydown="onKeydown"
|
||||||
@on-blur="onBlur"/>
|
@on-blur="onBlur"/>
|
||||||
<Input
|
<Input
|
||||||
v-else
|
v-else
|
||||||
ref="input"
|
ref="input"
|
||||||
v-model="content"
|
v-model="content"
|
||||||
:disabled="isLoad"
|
:disabled="isLoad"
|
||||||
@on-keyup="onKeyup"
|
@on-keydown="onKeydown"
|
||||||
@on-blur="onBlur"/>
|
@on-blur="onBlur"/>
|
||||||
<div v-if="isLoad" class="quick-loading"><Loading/></div>
|
<div v-if="isLoad" class="quick-loading"><Loading/></div>
|
||||||
</div>
|
</div>
|
||||||
@ -89,10 +89,12 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
onKeyup(e) {
|
onKeydown(e) {
|
||||||
if (e.keyCode === 13) {
|
if (e.keyCode === 13) {
|
||||||
this.onEnter();
|
this.onEnter();
|
||||||
} else if (e.keyCode === 27) {
|
} else if (e.keyCode === 27) {
|
||||||
|
e.preventDefault()
|
||||||
|
e.stopPropagation()
|
||||||
this.isEdit = false;
|
this.isEdit = false;
|
||||||
this.isLoad = false;
|
this.isLoad = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,9 @@ export default {
|
|||||||
return {
|
return {
|
||||||
loadIng: 0,
|
loadIng: 0,
|
||||||
|
|
||||||
keys: {},
|
keys: {
|
||||||
|
identity: 'nodisable'
|
||||||
|
},
|
||||||
|
|
||||||
columns: [],
|
columns: [],
|
||||||
list: [],
|
list: [],
|
||||||
@ -133,7 +135,7 @@ export default {
|
|||||||
if (email_verity) {
|
if (email_verity) {
|
||||||
arr.push(h('Icon', {
|
arr.push(h('Icon', {
|
||||||
props: {
|
props: {
|
||||||
type: 'md-checkmark'
|
type: 'md-mail'
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,6 +50,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
> li {
|
> li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,8 @@
|
|||||||
|
|
||||||
.ivu-icon {
|
.ivu-icon {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
margin-left: 4px;
|
margin-left: 6px;
|
||||||
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-tag {
|
.ivu-tag {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user