[fix] input cursor auto moving to the end
This commit is contained in:
@@ -49,7 +49,7 @@ export const addLaunchOption = (option: string) => {
|
||||
}
|
||||
|
||||
export const resetToolStore = () => {
|
||||
toolStore.state.launchOptions = defaultValue.launchOptions
|
||||
toolStore.state.launchIndex = defaultValue.launchIndex
|
||||
toolStore.state.powerPlan = defaultValue.powerPlan
|
||||
setLaunchOptions(defaultValue.launchOptions)
|
||||
setLaunchIndex(defaultValue.launchIndex)
|
||||
setPowerPlan(defaultValue.powerPlan)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user