project config

This commit is contained in:
pengfei.zhou
2019-07-17 15:03:31 +08:00
parent 25938fb3cd
commit 9cd607e822
13 changed files with 188 additions and 103 deletions

View File

@@ -1,5 +1,5 @@
let __uniqueId__: number = 0
export function uniqueId() {
return `__unique_${__uniqueId__++}__`;
export function uniqueId(prefix: string) {
return `__${prefix}_${__uniqueId__++}__`;
}