Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e50344fc
authored
Apr 24, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
table删除添加下标
1 parent
d9ac3ca4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/packages/Table/src/index.vue
src/packages/Table/src/index.vue
View file @
e50344f
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
</span>
</span>
</
template
>
</
template
>
<
template
v-else-if=
"item.enum"
>
<
template
v-else-if=
"item.enum"
>
<span
class=
"task_icon"
v-if=
"
filterEnum(scope.row[item.prop], item.enum, item.searchProps).color"
:style=
"
{ background: filterEnum(scope.row[item.prop], item.enum, item.searchProps).color }">
</span>
<span
class=
"task_icon"
v-if=
"
filterEnum(scope.row[item.prop], item.enum, item.searchProps).color"
:style=
"
{ background: filterEnum(scope.row[item.prop], item.enum, item.searchProps).color }">
</span>
<span>
{{
item
.
enum
&&
filterEnum
(
scope
.
row
[
item
.
prop
],
item
.
enum
,
item
.
searchProps
).
label
}}
</span>
<span>
{{
item
.
enum
&&
filterEnum
(
scope
.
row
[
item
.
prop
],
item
.
enum
,
item
.
searchProps
).
label
}}
</span>
</
template
>
</
template
>
<
template
v-else-if=
"getListApi"
>
<
template
v-else-if=
"getListApi"
>
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
</el-table-column>
</el-table-column>
<el-table-column
class-name=
"gl-btns"
v-if=
"tableParams.tableOption"
label=
"操作"
:align=
"tableParams.tableOption.align || 'left'"
:width=
"tableParams.tableOption.width || '200'"
fixed=
"right"
>
<el-table-column
class-name=
"gl-btns"
v-if=
"tableParams.tableOption"
label=
"操作"
:align=
"tableParams.tableOption.align || 'left'"
:width=
"tableParams.tableOption.width || '200'"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<slot
name=
"auth-button"
:scope=
"scope.row"
></slot>
<slot
name=
"auth-button"
:scope=
"scope.row"
:index=
"scope.$index"
></slot>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
template
slot=
"empty"
>
<
template
slot=
"empty"
>
...
@@ -217,7 +217,7 @@ export default {
...
@@ -217,7 +217,7 @@ export default {
default
:
()
=>
[]
default
:
()
=>
[]
},
},
// 设置禁止选中的函数(1.5.4+)
// 设置禁止选中的函数(1.5.4+)
checkSelectable
:{
checkSelectable
:
{
type
:
Function
type
:
Function
},
},
// 后端返回列表参数名
// 后端返回列表参数名
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment