Feature(custom): update i18n force update

This commit is contained in:
Kuingsmile
2024-06-13 11:13:58 +08:00
parent 5ddc182bd1
commit e9c386d5d8
14 changed files with 54 additions and 91 deletions

View File

@@ -1,8 +1,7 @@
import mitt from 'mitt'
import {
SHOW_INPUT_BOX,
SHOW_INPUT_BOX_RESPONSE,
FORCE_UPDATE
SHOW_INPUT_BOX_RESPONSE
} from '#/events/constants'
type IEvent ={
@@ -11,8 +10,7 @@ type IEvent ={
value: string
title: string
placeholder: string
},
[FORCE_UPDATE]: void
}
}
const emitter = mitt<IEvent>()