fix: 更新生产环境API地址并调整富文本编辑器权限控制
更新.env.production中的API地址为正式域名 在富文本编辑器中添加管理员权限检查,隐藏非管理员的操作按钮
This commit is contained in:
parent
c14d52ec9a
commit
2257392176
|
|
@ -2,9 +2,9 @@
|
||||||
ENV = production
|
ENV = production
|
||||||
|
|
||||||
# 线上环境接口地址
|
# 线上环境接口地址
|
||||||
# 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
|
||||||
|
|
||||||
#H5的域名,目前是给列表里的复制用
|
#H5的域名,目前是给列表里的复制用
|
||||||
# VITE_API_URL_H5 = https://cankao.cs.com.cn
|
VITE_API_URL_H5 = https://cankao.cs.com.cn
|
||||||
VITE_API_URL_H5 = http://123.60.153.169:8040
|
# VITE_API_URL_H5 = http://123.60.153.169:8040
|
||||||
|
|
|
||||||
|
|
@ -108,11 +108,11 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|
||||||
<el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
<!-- <el-table-column align="center" width="120" prop="submitter" label="编辑人">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
{{ scope.row.submitter ? scope.row.submitter : '-' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
<el-table-column align="center" width="120">
|
<el-table-column align="center" width="120">
|
||||||
<template #header>
|
<template #header>
|
||||||
<el-dropdown trigger="click" @command="handleCommandRating">
|
<el-dropdown trigger="click" @command="handleCommandRating">
|
||||||
|
|
@ -192,7 +192,7 @@
|
||||||
</el-icon> -->
|
</el-icon> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- v-if="isAdmin" -->
|
<!-- v-if="isAdmin" -->
|
||||||
<el-icon size="16" @click="goRecord(scope.row)" style="margin-left: 10px">
|
<el-icon v-if="isAdmin" size="16" @click="goRecord(scope.row)" style="margin-left: 10px">
|
||||||
<Tickets />
|
<Tickets />
|
||||||
</el-icon>
|
</el-icon>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue