feat: Add analysis api

This commit is contained in:
陈凯龙
2022-01-24 09:43:27 +08:00
parent c53fa562e5
commit 83327ea763
7 changed files with 188 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ export default defineComponent({
const regexp = /^[0-9]*$/
const nodes = textArray.map((t) => {
if (regexp.test(t)) {
return unref(keyNodes)[Math.floor(Number(t))] || t
return unref(keyNodes)[t] || t
}
return t
})