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
8783ecf5
Commit
8783ecf5
authored
Jan 19, 2021
by
何虹
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化表格
parent
15a80e79
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
child.vue
src/packages/hs-select-plus/src/child.vue
+1
-1
ItemComponentChild.vue
src/packages/hs-table/src/ItemComponentChild.vue
+2
-1
child.vue
src/packages/hs-table/src/child.vue
+1
-1
No files found.
src/packages/hs-select-plus/src/child.vue
View file @
8783ecf5
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:filterable="configData.filterable"
:filterable="configData.filterable"
:remote="configData.remote"
:remote="configData.remote"
:remote-method="remoteMethod_"
:remote-method="remoteMethod_"
:placeholder="configData.placeholder
"
placeholder="
"
>
>
<el-option
<el-option
v-for=
"item in options_"
v-for=
"item in options_"
...
...
src/packages/hs-table/src/ItemComponentChild.vue
View file @
8783ecf5
...
@@ -246,8 +246,9 @@ export default {
...
@@ -246,8 +246,9 @@ export default {
},
},
computed
:
{
computed
:
{
// 为什么加这个 因为有变态需求是列表上要修改, 原本是列表上一律不允许修改 Editable
// 为什么加这个 因为有变态需求是列表上要修改, 原本是列表上一律不允许修改 Editable
isEditable
()
{
// 是否可编辑
isEditable
()
{
// 是否可编辑
const
editable
=
this
.
$attrs
.
editable
const
editable
=
this
.
$attrs
.
editable
debugger
if
(
editable
)
{
if
(
editable
)
{
return
false
return
false
}
else
{
}
else
{
...
...
src/packages/hs-table/src/child.vue
View file @
8783ecf5
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
type
:
Function
type
:
Function
},
},
editable
:
{
editable
:
{
default
:
'list'
default
:
false
},
},
// 数据
// 数据
data
:
{
data
:
{
...
...
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