From 149b22dc62c85a5668f24073210ac5c0b1955520 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 23 五月 2022 19:12:44 +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