fix: login 修改 添加redirect

This commit is contained in:
2024-10-19 17:33:07 +08:00
parent d63fd0993c
commit 6df0b4e0cf
3 changed files with 47 additions and 27 deletions

View File

@@ -1,3 +1,8 @@
/**
* 提取 {{}} 中的 key
* @param text
* @returns
*/
export function extractKeysFromBraces(text: string) {
const regex = /\{\{\s*(.*?)\s*\}\}/g;
const keys: string[] = [];