Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
c8a659d8
Commit
c8a659d8
authored
Apr 16, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改表格组件的问题
parent
969040e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
zb-table.vue
uni_modules/zb-table/components/zb-table/zb-table.vue
+9
-18
No files found.
uni_modules/zb-table/components/zb-table/zb-table.vue
View file @
c8a659d8
...
...
@@ -726,8 +726,7 @@ export default {
indeterminate
:
false
,
checkedAll
:
false
,
completeLoading
:
false
,
aliTime
:
null
,
isDisable
:
false
aliTime
:
null
};
},
created
()
{},
...
...
@@ -823,12 +822,8 @@ export default {
this
.
currentRow
=
{};
},
cellClick
(
row
,
index
,
column
)
{
// this.isDisable = true;
// setTimeout(() => {
// this.isDisable = false;
console
.
log
(
row
,
index
,
'rows cellClick'
);
this
.
$emit
(
'cellClick'
,
row
,
index
,
column
);
// }, 500);
// console.log(row, index, 'rows cellClick');
this
.
$emit
(
'cellClick'
,
row
,
index
,
column
);
},
toggleRowSelection
(
row
)
{
// console.log(row, 'rows99')
...
...
@@ -874,16 +869,12 @@ export default {
this
.
$emit
(
'toggleRowSelection'
,
true
,
this
.
selectArr
);
},
rowClick
(
row
,
index
)
{
// this.isDisable = true;
// setTimeout(() => {
// this.isDisable = false;
if
(
this
.
highlight
)
{
this
.
currentRowIndex
=
index
;
this
.
currentRow
=
row
;
this
.
$emit
(
'currentChange'
,
row
,
index
);
}
this
.
$emit
(
'rowClick'
,
row
,
index
);
// }, 500);
if
(
this
.
highlight
)
{
this
.
currentRowIndex
=
index
;
this
.
currentRow
=
row
;
this
.
$emit
(
'currentChange'
,
row
,
index
);
}
this
.
$emit
(
'rowClick'
,
row
,
index
);
},
checkboxSelectedAll
(
e
)
{
this
.
indeterminate
=
false
;
...
...
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