Commit 9ecb44ca authored by 张俊's avatar 张俊

Merge branch 'dev' of https://cloud.wodcloud.com/git/apaas/apaas-v3-ui into dev

parents b2347643 e59e42cf
...@@ -91,6 +91,7 @@ export default { ...@@ -91,6 +91,7 @@ export default {
margin-bottom: 3px; margin-bottom: 3px;
} }
.detail-item .detail-text { .detail-item .detail-text {
word-break: break-all;
font-size: 14px; font-size: 14px;
line-height: 25px; line-height: 25px;
color: #242c43; color: #242c43;
......
...@@ -283,7 +283,8 @@ export default { ...@@ -283,7 +283,8 @@ export default {
callback: this.deleteItem, callback: this.deleteItem,
class: "warn", class: "warn",
disabledRule(item) { disabledRule(item) {
return item.state != 2; // 只有下架状态可以删除
return item.state !== 0;
}, },
}, },
], ],
...@@ -1079,6 +1080,10 @@ export default { ...@@ -1079,6 +1080,10 @@ export default {
label: "删除", label: "删除",
class: "warn", class: "warn",
callback: this.deleteItem, callback: this.deleteItem,
disabledRule(item) {
// 只有非下架状态可以删除(已上架,下架审核中)
return item.state == 1 || item.state == 3;
},
}, },
], ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment