Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-sky-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何虹
hs-sky-ui
Commits
41d8cbac
Commit
41d8cbac
authored
Jan 20, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表行禁用状态
parent
9181cf7d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
ItemComponentChild.vue
src/packages/hs-table/src/ItemComponentChild.vue
+1
-0
child.vue
src/packages/hs-table/src/child.vue
+4
-0
No files found.
src/packages/hs-table/src/ItemComponentChild.vue
View file @
41d8cbac
...
@@ -279,6 +279,7 @@ export default {
...
@@ -279,6 +279,7 @@ export default {
return
bool
return
bool
}
}
}
}
debugger
return
!!
(
this
.
disabled
||
bool
||
this
.
$attrs
.
disabled
)
return
!!
(
this
.
disabled
||
bool
||
this
.
$attrs
.
disabled
)
}
}
},
},
...
...
src/packages/hs-table/src/child.vue
View file @
41d8cbac
...
@@ -117,6 +117,7 @@
...
@@ -117,6 +117,7 @@
></i>
></i>
<childItem
<childItem
v-else
v-else
:disabled=
'disabled'
:editable=
'editable'
:editable=
'editable'
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
v-on=
"$listeners"
...
@@ -147,6 +148,7 @@
...
@@ -147,6 +148,7 @@
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
v-on=
"$listeners"
:editable=
'editable'
:editable=
'editable'
:disabled=
'disabled'
>
>
</childItem>
</childItem>
</
template
>
</
template
>
...
@@ -257,6 +259,7 @@
...
@@ -257,6 +259,7 @@
v-else
v-else
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
v-on=
"$listeners"
:disabled=
'disabled'
:editable=
'editable'
:editable=
'editable'
:item=
'column'
:item=
'column'
:prop=
"column.prop"
:prop=
"column.prop"
...
@@ -282,6 +285,7 @@
...
@@ -282,6 +285,7 @@
<childItem
<childItem
:item=
'item'
:item=
'item'
:formParms=
'scope.row'
:formParms=
'scope.row'
:disabled=
'disabled'
:editable=
'editable'
:editable=
'editable'
:prop=
"item.prop"
:prop=
"item.prop"
v-bind=
"$attrs"
v-bind=
"$attrs"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment