From 58bbdaddb84f18721fb99c7d71b68404c27b4bb2 Mon Sep 17 00:00:00 2001 From: Shlpeng <21647415@qq.com> Date: Wed, 29 Sep 2021 18:01:04 +0800 Subject: [PATCH] Update index.fes when no rule, give friendly tips --- ui/src/pages/myProject/projects/list/index.fes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/pages/myProject/projects/list/index.fes b/ui/src/pages/myProject/projects/list/index.fes index 6a5f6b05..57d9458f 100644 --- a/ui/src/pages/myProject/projects/list/index.fes +++ b/ui/src/pages/myProject/projects/list/index.fes @@ -389,6 +389,10 @@ }) }, taskExecution() { + if(this.$refs.tableRule){ + }else{ + this.$Toast.error('No rule can be executed') + } let arr = this.$refs.tableRule.map((item)=> { return item.getSelected(); })