fix:fix site info
Build and Deploy Vue3 / build (push) Successful in 1m8s
Build and Deploy Vue3 / deploy (push) Successful in 55s

This commit is contained in:
2025-09-28 00:24:23 +08:00
parent 7a3134ac0c
commit 2b4083c2f1
8 changed files with 765 additions and 217 deletions
+4 -13
View File
@@ -573,7 +573,7 @@
<div class="time-info">{{ scope.row.become_time }}</div>
</template>
</el-table-column>
<el-table-column label="规格" prop="plan_name" width="80" />
<el-table-column label="规格" prop="name" width="80" />
<el-table-column label="用户ID" prop="user_id" width="80" />
<el-table-column label="状态" width="100" align="center">
<template #default="scope">
@@ -1025,6 +1025,9 @@ const totalTrafficErrorMessage = ref('');
// 返回按钮功能
const goBack = () => {
// 标记返回操作
sessionStorage.setItem('serverDetailFrom', 'back');
sessionStorage.setItem('serverDetailTimestamp', Date.now().toString());
router.back();
};
@@ -1234,18 +1237,6 @@ const initData = async () => {
let cons = await getContainer(containerBox);
if (cons && cons.data) {
user_servers.value = cons.data.data || [];
for (const item of user_servers.value){
try{
const res = await selectServerPlan({
server_type: 'dockerContainer',
plan_id: item.plan_id
})
item.plan_name = res.data.data.name;
}catch(error){
console.error("获取容器列表失败:", error);
ElMessage.error("获取容器列表失败");
}
}
total.value = cons.data.count || 0;
}
} catch (error) {