Commit 79c7ef84 authored by 徐一鸣's avatar 徐一鸣

普通用户云资源列表修复

parent 32e3860a
...@@ -1205,9 +1205,11 @@ export default { ...@@ -1205,9 +1205,11 @@ export default {
if (this.type == 2) { if (this.type == 2) {
const cloud = data.data.cloud_resource_count; const cloud = data.data.cloud_resource_count;
if (this.level == 1) { if (this.level != 2) {
this.listTotal = data.total; this.listTotal = data.total;
this.listData = data.data.cloud_apply_list; this.listData = data.data.cloud_apply_list;
if (this.level == 1) {
this.cloud_zuzhi = { this.cloud_zuzhi = {
count_zy: cloud.count_zy, count_zy: cloud.count_zy,
dashboard_list: [ dashboard_list: [
...@@ -1237,7 +1239,8 @@ export default { ...@@ -1237,7 +1239,8 @@ export default {
}, },
], ],
}; };
} else if (this.level == 2) { }
} else {
this.cloud_admin = { this.cloud_admin = {
dashboard_list: [ dashboard_list: [
{ {
......
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