新
This commit is contained in:
@@ -49,4 +49,14 @@ export const goToURL = (url, isblank = true) => {
|
||||
aTab.setAttribute('href', url)
|
||||
if (isblank) aTab.setAttribute('target', "_blank")
|
||||
aTab.click()
|
||||
}
|
||||
}
|
||||
export const numberToEnclosed = index => {
|
||||
let obj = {
|
||||
1: '①',
|
||||
2: '②',
|
||||
3: '③',
|
||||
4: '④',
|
||||
5: '⑤',
|
||||
}
|
||||
return obj[index]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user