Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-11 14:17:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8093b82653a046b3bb2f6efda7224f56cb9e5a84
8093b826
1 parent
901ad3f7
modify
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/components/YlTable/index.vue
src/views/et86Config/et86RuleConfig/edit/index.vue
src/components/YlTable/index.vue
View file @
8093b82
...
...
@@ -186,8 +186,10 @@ export default {
this.$nextTick(() => {
const trEl =
this.$refs.tableRef.$refs.bodyWrapper.children[0].children[1]
.children[0].clientHeight;
this.trHeight = trEl;
.children[0];
if (trEl) {
this.trHeight = trEl.clientHeight;
}
});
}, 800),
...
...
src/views/et86Config/et86RuleConfig/edit/index.vue
View file @
8093b82
...
...
@@ -724,7 +724,7 @@ export default {
},
// 删除
deleBtn(item, $index) {
console.log(item, $index);
console.log(
"删除:",
item, $index);
this.tableData.splice($index, 1);
},
// 类别
...
...
Please
register
or
login
to post a comment