mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-13 17:52:28 +08:00
fix Bug or esLink formatting
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const projectName = import.meta.env.VITE_GLOB_APP_TITLE;
|
||||
|
||||
export function warn(message: string) {
|
||||
console.warn(`[${ projectName } warn]:${ message }`);
|
||||
console.warn(`[${projectName} warn]:${message}`);
|
||||
}
|
||||
|
||||
export function error(message: string) {
|
||||
throw new Error(`[${ projectName } error]:${ message }`);
|
||||
throw new Error(`[${projectName} error]:${message}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user