Skip to content

Commit 9a82fc8

Browse files
authored
fix(dialog-select): fix demos for dislog-select (#2552)
1 parent db9f6cc commit 9a82fc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/sites/demos/pc/app/dialog-select/nest-grid-multi-composition-api.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,18 @@ const state = reactive({
133133
}
134134
})
135135
136-
const dialogSelect = ref('')
136+
const dialogSelect = ref(null)
137137
138138
const onSizeChange = (pageSize) => {
139139
state.pagerOp.pageSize = pageSize
140140
141-
dialogSelect.value.valuequeryGridData()
141+
dialogSelect.value?.queryGridData()
142142
}
143143
144144
const onCurrentChange = (currentPage) => {
145145
state.pagerOp.currentPage = currentPage
146146
147-
dialogSelect.value.queryGridData()
147+
dialogSelect.value?.queryGridData()
148148
}
149149
150150
const onSearch = (key, value) => {

0 commit comments

Comments
 (0)