mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
地址为空不展示问题处理,修改鼠标指针
This commit is contained in:
parent
0626bd3e92
commit
aefb605d53
@ -85,7 +85,8 @@
|
|||||||
<el-table-column label="应用密钥" align="center" prop="accessKey">
|
<el-table-column label="应用密钥" align="center" prop="accessKey">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.accessKey }} </span>
|
<span>{{ scope.row.accessKey }} </span>
|
||||||
<i class="el-icon-copy-document" style="color: #4A8DFF" @click="handleCopy(scope.row.accessKey)" title="复制"/>
|
<i class="el-icon-copy-document" style="color: #4A8DFF;cursor:pointer" v-if="scope.row.accessKey"
|
||||||
|
@click="handleCopy(scope.row.accessKey)" title="复制"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="更新者" align="center" prop="updateBy" />
|
<el-table-column label="更新者" align="center" prop="updateBy" />
|
||||||
|
|||||||
@ -90,8 +90,9 @@
|
|||||||
<el-table-column label="服务名称" align="left" prop="serviceName" />
|
<el-table-column label="服务名称" align="left" prop="serviceName" />
|
||||||
<el-table-column label="虚拟地址" align="left" prop="virtualAddr">
|
<el-table-column label="虚拟地址" align="left" prop="virtualAddr">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span :title="scope.row.virtualAddr" v-text="handleVirtualAddr(scope.row.virtualAddr)"></span>
|
<span :title="scope.row.virtualAddr" v-text="handleVirtualAddr(scope.row.virtualAddr)"/>
|
||||||
<i class="el-icon-copy-document" style="color: #4A8DFF" @click="handleCopy(scope.row.virtualAddr)" title="复制"/>
|
<i class="el-icon-copy-document" v-if="scope.row.virtualAddr" style="color: #4A8DFF;cursor:pointer"
|
||||||
|
@click="handleCopy(scope.row.virtualAddr)" title="复制"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="审核状态" align="center" prop="status" width="100">
|
<el-table-column label="审核状态" align="center" prop="status" width="100">
|
||||||
@ -421,7 +422,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 处理虚拟地址
|
// 处理虚拟地址
|
||||||
handleVirtualAddr(data) {
|
handleVirtualAddr(data) {
|
||||||
return data.length > 40 ? data.substring(0, 37) + '...' : data;
|
return data && data.length > 40 ? data.substring(0, 37) + '...' : data;
|
||||||
},
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user