Skip to content

Commit 0ce7143

Browse files
committed
refactor: 更正单词拼写错误
1 parent 4e228b6 commit 0ce7143

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/BootstrapBlazor/Components/Table/Table.razor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export function scrollTo(id, x = 0, y = 0, options = { behavior: 'smooth' }) {
200200

201201
export function toggleView(id) {
202202
const table = Data.get(id);
203-
destoryTable(table);
203+
destroyTable(table);
204204

205205
reset(id);
206206
}
@@ -209,10 +209,10 @@ export function dispose(id) {
209209
const table = Data.get(id)
210210
Data.remove(id);
211211

212-
destoryTable(table);
212+
destroyTable(table);
213213
}
214214

215-
const destoryTable = table => {
215+
const destroyTable = table => {
216216
if (table) {
217217
if (table.loopCheckHeightHandler) {
218218
cancelAnimationFrame(table.loopCheckHeightHandler);

0 commit comments

Comments
 (0)