预装环境部署上线,域名备案通过后需切换正式域名。

This commit is contained in:
monanxiao
2024-10-17 23:22:45 +08:00
parent 78426364f3
commit 4383fa69de
4 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -9,7 +9,9 @@ const errorCode = {
default: "系统未知错误,请反馈给管理员",
};
const url = "https://repair.cpolar.top"; // "https://hazard.cpolar.top";
// const url = "https://repair.cpolar.top"; // 开发地址
// const url = "https://xcx.cqcxj.cn"; // 正式地址
const url = "https://cqjql.scdswj.cn:9443"; // 临时地址
const service = axios.create({
baseURL: url,
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="avatar">
<img src="../../../assets/images/avart.jpg" alt="avatar" />
</div>
<span class="username" :style="{ color: themeConfig.footColor }">超级管理员</span>
<span class="username" :style="{ color: themeConfig.footColor }">管理员</span>
</div>
<template #dropdown>
<el-dropdown-menu>
+1 -1
View File
@@ -201,7 +201,7 @@ const initData = () => {
getConfigList(queryData.value).then((res) => {
if(res.data[1].content !== '[]' && res.data[1].content !== null)
if(res.data[1].content !== '[]' && res.data[1].content !== null && res.data[0].content !== "")
{
tableData.value = JSON.parse(res.data[1].content);
// 找出最ID
+1 -1
View File
@@ -129,7 +129,7 @@ const initData = () => {
getConfigList(queryData.value).then((res) => {
if(res.data[0].content !== '[]' && res.data[0].content !== null)
if(res.data[0].content !== '[]' && res.data[0].content !== null && res.data[0].content !== "")
{
tableData.value = JSON.parse(res.data[0].content);
// 找出最大序号