mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +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
-1
@@ -18,7 +18,7 @@ export default {
|
||||
|
||||
/* I18n configuration, `languages` and `defaultLanguage` are required currently. */
|
||||
i18n: {
|
||||
/* Countrys flags: https://www.flaticon.com/packs/countrys-flags */
|
||||
/* Countries flags: https://www.flaticon.com/packs/countries-flags */
|
||||
languages: [
|
||||
{
|
||||
key: 'pt-br',
|
||||
|
||||
+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