后台管理功能已完成

This commit is contained in:
RockYang
2023-05-05 15:45:40 +08:00
parent 868ddc1f37
commit 40bf2b5c1b
13 changed files with 295 additions and 163 deletions

View File

@@ -109,4 +109,9 @@ export function renderInputText(text) {
const replaceRegex = /(\n\r|\r\n|\r|\n)/g;
text = text || '';
return text.replace(replaceRegex, "<br/>");
}
// 拷贝对象
export function copyObj(origin) {
return JSON.parse(JSON.stringify(origin));
}