From 24a6b3c3028ed77bb079b2ff76a30179c1db6c51 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 29 三月 2021 14:36:12 +0800 Subject: [PATCH] 修复算例管理. tasks为空时列表渲染出错的问题 --- src/components/fTemplate.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/fTemplate.vue b/src/components/fTemplate.vue index f095c00..6d0e485 100644 --- a/src/components/fTemplate.vue +++ b/src/components/fTemplate.vue @@ -29,7 +29,7 @@ } }, computed: { - isAdmin () { + isAdmin() { if ( sessionStorage.getItem('userInfo') && sessionStorage.getItem('userInfo') !== '' @@ -41,7 +41,7 @@ } return false }, - isShow () { + isShow() { if (this.isAdmin) { return true } else if ( -- Gitblit v1.8.0