mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
fix: correct typos in source code and locales (#3003)
- Fix Countrys -> Countries in comment - Fix Scrolldown -> ScrollDown in variable name - Fix completeTowFactor -> completeTwoFactor (3x) - Fix deactiveTowFactor -> deactivateTwoFactor (3x) - Fix activeOrDeactiveTwoFactor -> activeOrDeactivateTwoFactor - Fix API route /two-factor/deactive -> /two-factor/deactivate - Fix elment -> element in function param - Fix synolog -> synology in comment - Fix Chinese comment 制定 -> 指定 - Fix swapped BARK English translations on lines 360-361
This commit is contained in:
1 parent
2fe9470ff0
commit
3aab1233bb
9 files changed
+23
-23
No files matched your search
+3
-3
@@ -179,7 +179,7 @@ export default function browserType() {
|
||||
/**
|
||||
* 获取第一个表格的可视化高度
|
||||
* @param {*} extraHeight 额外的高度(表格底部的内容高度 Number类型,默认为74)
|
||||
* @param {*} id 当前页面中有多个table时需要制定table的id
|
||||
* @param {*} id 当前页面中有多个table时需要指定table的id
|
||||
*/
|
||||
export function getTableScroll({
|
||||
extraHeight,
|
||||
@@ -208,7 +208,7 @@ export function getTableScroll({
|
||||
}
|
||||
|
||||
// 自动触发点击事件
|
||||
function automaticClick(elment: HTMLElement) {
|
||||
function automaticClick(element: HTMLElement) {
|
||||
const ev = document.createEvent('MouseEvents');
|
||||
ev.initMouseEvent(
|
||||
'click',
|
||||
@@ -227,7 +227,7 @@ function automaticClick(elment: HTMLElement) {
|
||||
0,
|
||||
null,
|
||||
);
|
||||
elment.dispatchEvent(ev);
|
||||
element.dispatchEvent(ev);
|
||||
}
|
||||
|
||||
// 导出文件
|
||||
|
||||
Reference in new issue
Block a user