提交 777242c8 编写于 作者: 雨爱无痕

FIx issue

上级 271a2a53
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
:key="j" :key="j"
class="z-tbody-td" class="z-tbody-td"
:class="col.columnClasses" :class="col.columnClasses"
:style="isHideLine ? {border: 'none', width: col.width ? col.width : 'auto',...col.columnStyles} : {width: col.width ? col.width : 'auto', ...col.columnStyles}"> :style="isHideBorder ? {border: 'none', width: col.width ? col.width : 'auto',...col.columnStyles} : {width: col.width ? col.width : 'auto', ...col.columnStyles}">
<div v-if="col.display" v-html="col.display(row)"></div> <div v-if="col.display" v-html="col.display(row)"></div>
<template v-else> <template v-else>
<div v-if="setting.isSlotMode && slots[col.field]"> <div v-if="setting.isSlotMode && slots[col.field]">
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
:key="j" :key="j"
class="z-tbody-td" class="z-tbody-td"
:class="col.columnClasses" :class="col.columnClasses"
:style="isHideLine ? {border: 'none', width: col.width ? col.width : 'auto',...col.columnStyles} : {width: col.width ? col.width : 'auto', ...col.columnStyles}"> :style="isHideBorder ? {border: 'none', width: col.width ? col.width : 'auto',...col.columnStyles} : {width: col.width ? col.width : 'auto', ...col.columnStyles}">
<div v-if="col.display" v-html="col.display(row)"></div> <div v-if="col.display" v-html="col.display(row)"></div>
<div v-else> <div v-else>
<div v-if="setting.isSlotMode && slots[col.field]"> <div v-if="setting.isSlotMode && slots[col.field]">
...@@ -357,7 +357,7 @@ export default defineComponent({ ...@@ -357,7 +357,7 @@ export default defineComponent({
default: false, default: false,
}, },
// Hide Line // Hide Line
isHideLine: { isHideBorder: {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
:columns="remoteProxyColumns" :columns="remoteProxyColumns"
:rows="record.value.proxies" :rows="record.value.proxies"
:isHideHeader="true" :isHideHeader="true"
:isHideLine="true" :isHideBorder="true"
:isHidePaging="true" :isHidePaging="true"
:isSlotMode="true" :isSlotMode="true"
:sortable="{}" :sortable="{}"
...@@ -214,6 +214,7 @@ const setColumns = () => { ...@@ -214,6 +214,7 @@ const setColumns = () => {
{ {
label: t("interpreter_path"), label: t("interpreter_path"),
field: "path", field: "path",
width: "500px",
}, },
{ {
label: t("create_time"), label: t("create_time"),
...@@ -243,10 +244,12 @@ const setColumns = () => { ...@@ -243,10 +244,12 @@ const setColumns = () => {
{ {
label: t("name"), label: t("name"),
field: "name", field: "name",
width: "160px",
}, },
{ {
label: t("server_link"), label: t("server_link"),
field: "path", field: "path",
width: "260px",
}, },
{ {
label: t("remote_proxy"), label: t("remote_proxy"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册