From ba5f0a22558ce40300fa1668d98ea74ad56fd1e3 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 26 四月 2022 20:23:32 +0800 Subject: [PATCH] 初始化页面添加信息刷新 --- src/pages/ai/index/App.vue | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/pages/ai/index/App.vue b/src/pages/ai/index/App.vue index 181bf92..7308d94 100644 --- a/src/pages/ai/index/App.vue +++ b/src/pages/ai/index/App.vue @@ -143,7 +143,7 @@ class="front-page-item" v-for="(item, index) in tempList" :key="index" - @click="checkDetail(item, 'Appcenter')" + @click="checkDetail(item)" :class="{ disabled: activeName == '搴旂敤涓績' && !item.canUpOrIns, }" @@ -173,7 +173,7 @@ type="primary" class="other-btn" round - @click="checkDetail(item, 'Appcenter')" + @click="checkDetail(item)" v-if="activeName == '搴旂敤涓績' && item.price > 0" >婵�娲�</el-button > @@ -621,10 +621,10 @@ this.tempDarkList = []; } }, - checkDetail(item, typ) { - if (!item.canUpOrIns && typ == "Appcenter") { + checkDetail(item) { + /* if (!item.canUpOrIns && typ == "Appcenter") { return false; - } + } */ this.inDetail = true; this.detailProductID = item.id; @@ -695,7 +695,7 @@ } }) .catch((e) => { - _this.$notify.warning(e.data); + _this.$notify.warning(e.msg); clearInterval(timer); app.upgradeLoading = false; }); @@ -1335,9 +1335,9 @@ height: 76px; border-radius: 4px; - &.disabled { + /* &.disabled { cursor: default; - } + } */ .icon-img { width: 58px; -- Gitblit v1.8.0