预装环境部署上线,域名备案通过后需切换正式域名。
This commit is contained in:
+3
-1
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
// 找出最大序号
|
||||
|
||||
Reference in New Issue
Block a user