mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
no message
This commit is contained in:
parent
0eb3430c14
commit
ff2461d89d
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 标签添加/编辑 -->
|
<!-- 标签添加/编辑 -->
|
||||||
<TaskTagAdd ref="addTag" :project-id="projectId" @on-save="loadTags" @on-save-error="loadTags"/>
|
<TaskTagAdd ref="addTag" :project-id="projectId" @on-save="getTagData" @on-save-error="getTagData"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -71,11 +71,11 @@ export default {
|
|||||||
...mapState(['formOptions'])
|
...mapState(['formOptions'])
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.loadTags()
|
this.getTagData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 加载标签列表
|
// 加载标签列表
|
||||||
async loadTags() {
|
async getTagData() {
|
||||||
this.loadIng++
|
this.loadIng++
|
||||||
try {
|
try {
|
||||||
const {data} = await this.$store.dispatch("call", {
|
const {data} = await this.$store.dispatch("call", {
|
||||||
@ -114,7 +114,7 @@ export default {
|
|||||||
spinner: 300
|
spinner: 300
|
||||||
})
|
})
|
||||||
$A.messageSuccess(msg || '删除成功')
|
$A.messageSuccess(msg || '删除成功')
|
||||||
this.loadTags()
|
await this.getTagData()
|
||||||
} catch ({msg}) {
|
} catch ({msg}) {
|
||||||
$A.messageError(msg || '删除失败')
|
$A.messageError(msg || '删除失败')
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user