This commit is contained in:
1 parent
339df89fcf
commit
651c36367f
33 files changed
+1420
-40
No files matched your search
@@ -329,7 +329,7 @@ var Ce = {
|
||||
];
|
||||
// 为账户设置标签提供左右方向键及 Home/End 导航,并同步实际焦点。
|
||||
function Xt(e, t) {
|
||||
let n = t;
|
||||
let n;
|
||||
if (e.key === `ArrowRight`) n = (t + 1) % E.length;
|
||||
else if (e.key === `ArrowLeft`) n = (t + E.length - 1) % E.length;
|
||||
else if (e.key === `Home`) n = 0;
|
||||
|
||||
@@ -387,6 +387,7 @@ var xe = {
|
||||
Tt = computed(() => {
|
||||
let e = R.value?.certification_auth_template_url || ``;
|
||||
return /^(?:https?:\/\/|\/(?!\/))/i.test(e) &&
|
||||
// eslint-disable-next-line no-control-regex -- 安全边界:拒绝认证模板 URL 内的控制字符。
|
||||
!/[\\\u0000-\u0020]/.test(e)
|
||||
? e
|
||||
: ``;
|
||||
|
||||
@@ -127,9 +127,6 @@ var je = {
|
||||
Xe = {
|
||||
class: `amount`,
|
||||
},
|
||||
Ze = {
|
||||
class: `consumption-overview`,
|
||||
},
|
||||
x = _plugin_vue_export_helper_t(
|
||||
defineComponent({
|
||||
__name: `index`,
|
||||
|
||||
@@ -110,6 +110,7 @@ var T = {
|
||||
);
|
||||
// 下载地址仅允许 HTTP(S) 或站内绝对路径,拒绝反斜杠、空白控制字符和协议相对地址。
|
||||
function q(e) {
|
||||
// eslint-disable-next-line no-control-regex -- 安全边界:拒绝发票下载地址中的控制字符。
|
||||
return typeof e != `string` || /[\u0000-\u0020\\]/.test(e)
|
||||
? ``
|
||||
: /^https?:\/\//i.test(e) || /^\/(?!\/)/.test(e)
|
||||
|
||||
@@ -295,7 +295,7 @@ var ue = {
|
||||
createElementVNode(
|
||||
`p`,
|
||||
ge,
|
||||
`发布时间 ` +
|
||||
`发布时间\u3000` +
|
||||
toDisplayString(
|
||||
(`formatTime` in n
|
||||
? n.formatTime
|
||||
|
||||
@@ -121,6 +121,7 @@ var j = {
|
||||
position: K.value,
|
||||
item: U.value,
|
||||
};
|
||||
return undefined;
|
||||
}),
|
||||
J = ref(!1),
|
||||
Y = ref(null),
|
||||
|
||||
@@ -119,7 +119,7 @@ var j = {
|
||||
}));
|
||||
// 标签按左右方向键循环切换,Home/End 跳至首尾,并同步焦点到新标签。
|
||||
function G(e, t) {
|
||||
let n = t;
|
||||
let n;
|
||||
if (e.key === `ArrowRight`) n = (t + 1) % V.length;
|
||||
else if (e.key === `ArrowLeft`) n = (t + V.length - 1) % V.length;
|
||||
else if (e.key === `Home`) n = 0;
|
||||
|
||||
@@ -61,9 +61,6 @@ var le = {
|
||||
me = {
|
||||
class: `ticket-title`,
|
||||
},
|
||||
he = {
|
||||
class: `ticket-num`,
|
||||
},
|
||||
ge = {
|
||||
class: `ticket-meta`,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user