mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 14:42:51 +00:00
fix: 打开工作流设置后无法关闭桌面客户端的问题
This commit is contained in:
parent
7e5bbb4bb7
commit
2b3d5ff223
@ -1391,6 +1391,10 @@ export default {
|
|||||||
|
|
||||||
workflowBeforeClose() {
|
workflowBeforeClose() {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
|
if (!this.$refs.workflow) {
|
||||||
|
resolve();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!this.$refs.workflow.existDiff()) {
|
if (!this.$refs.workflow.existDiff()) {
|
||||||
resolve()
|
resolve()
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user