fix: 更新开发环境API地址并优化媒体来源显示

将开发环境API地址切换为http://123.60.153.169:8040/admin
优化媒体来源列显示,当sourceName为空时显示"-"
This commit is contained in:
zzp 2025-11-11 20:31:49 +08:00
parent fa3e914e1a
commit d2cbae3adc
2 changed files with 10 additions and 9 deletions

View File

@ -2,10 +2,10 @@
ENV = development ENV = development
# 本地环境接口地址 # 本地环境接口地址
VITE_API_URL = http://4155gf93ll13.vicp.fun/admin # VITE_API_URL = http://4155gf93ll13.vicp.fun/admin
# VITE_API_URL = http://localhost:13579/admin # VITE_API_URL = http://localhost:13579/admin
# VITE_API_URL = https://cankao.cs.com.cn/admin # VITE_API_URL = https://cankao.cs.com.cn/admin
# VITE_API_URL = http://123.60.153.169:8040/admin VITE_API_URL = http://123.60.153.169:8040/admin
# VITE_API_URL = /api # VITE_API_URL = /api

View File

@ -357,13 +357,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="媒体来源" align="center" width="120" v-if="Session.get('userInfoLocal').userType == '00'">
label="媒体来源" <template v-slot="scope">
align="center" <div v-if="scope.row.sourceName">
width="120" {{ scope.row.sourceName }}
prop="sourceName" </div>
v-if="Session.get('userInfoLocal').userType == '00'" <div v-else>-</div>
></el-table-column> </template>
</el-table-column>
<el-table-column prop="status" align="center" width="120"> <el-table-column prop="status" align="center" width="120">
<template #header> <template #header>