Skip to content

Commit

Permalink
feat: update antd-table example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionad-Morotar committed Aug 20, 2023
1 parent c1ed424 commit 434744a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions play/src/ant-vue-table/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ watch(() => props.enable, async (enable) => {
try {
const $table = tableRef.value.$el;
const $header = $table.querySelector(".ant-table-header");
const $bodyWrapper = $table.querySelector(".ant-table-body");
const $bodyContent = $table.querySelector(".ant-table-body > table");
console.log('barStates', barStates)
Expand All @@ -44,7 +43,6 @@ watch(() => props.enable, async (enable) => {
barStates.init({
mount: tableRef,
content: [$bodyContent],
viewport: [$bodyWrapper]
});
} catch (err) {
console.error("[ERR] error when init virtual scrollbar", err, tableRef);
Expand Down

0 comments on commit 434744a

Please sign in to comment.