mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
perf: 优化修改任务load
This commit is contained in:
parent
c51135a4cc
commit
ceb4fc8292
@ -91,6 +91,7 @@
|
||||
completed-icon="ios-more"
|
||||
size="medium"
|
||||
:color-show="false"
|
||||
:show-load="false"
|
||||
@on-update="getLogLists"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="task-menu-icon" @click="handleClick">
|
||||
<div v-if="loadIng" class="loading"><Loading/></div>
|
||||
<div v-if="loadIng && showLoad" class="loading"><Loading/></div>
|
||||
<template v-else>
|
||||
<Icon v-if="task.complete_at" class="completed" :type="completedIcon" />
|
||||
<Icon v-else :type="icon" class="uncomplete"/>
|
||||
@ -55,6 +55,10 @@ export default {
|
||||
projectId:{
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
showLoad: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user