update
This commit is contained in:
1 parent
ffbe5fed18
commit
b32007acd1
6 files changed
+939
-55
No files matched your search
@@ -416,7 +416,7 @@ export default class CharacterTab extends Vue {
|
||||
|
||||
await Promise.all([
|
||||
(async () => {
|
||||
const { result: r } = await api.character_getRadical({
|
||||
const r = await api.character_getRadical({
|
||||
entry: this.current,
|
||||
})
|
||||
|
||||
@@ -457,7 +457,7 @@ export default class CharacterTab extends Vue {
|
||||
result
|
||||
.map((r) =>
|
||||
api
|
||||
.all_getLookup({ entry: r.entry, type: 'vocabulary', limit: 1 })
|
||||
.all_getLookup({ entry: r.list[0]!, type: 'vocabulary', limit: 1 })
|
||||
.then((r) => r.result[0]!)
|
||||
)
|
||||
.filter((r) => r)
|
||||
@@ -479,7 +479,7 @@ export default class CharacterTab extends Vue {
|
||||
result
|
||||
.map((r) =>
|
||||
api
|
||||
.all_getLookup({ entry: r.entry, type: 'sentence', limit: 1 })
|
||||
.all_getLookup({ entry: r.list[0]!, type: 'sentence', limit: 1 })
|
||||
.then((r) => r.result[0]!)
|
||||
)
|
||||
.filter((r) => r)
|
||||
|
||||
Reference in new issue
Block a user