Skip to content

Commit 3b265cc

Browse files
author
黄书伟
committed
fixed bug
1 parent 7933adf commit 3b265cc

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

libs/src/utils/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ exports.default = {
135135

136136
var childrens = context.$children;
137137

138-
while (childrens && childrens.length > 1) {
138+
while (childrens && childrens.length > 0) {
139139

140140
childrens.forEach(function (child) {
141141

libs/v-checkbox-group/src/checkbox-group.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
5050
let children = utils.getChildCompsByName(this,'v-checkbox');
5151
52-
if (children.length > 1){
52+
if (children.length > 0){
5353
5454
children.forEach(child =>{
5555

libs/v-table/src/table.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@
860860
handler: function (newVal) {
861861
862862
this.skipRenderCells = [];
863+
this.clickRowIndex = -1;
863864
864865
this.internalTableData = this.initInternalTableData(newVal);
865866

umd/js/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)