File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11# 更改日志 | CHANGE LOG
22
33- [ #7 ] ( https://github.com/Zuoqiu-Yingyi/utools-siyuan/issues/7 ) 支持在 uTools 窗口中打开搜索结果 | Support opening search results in uTools window.
4+ - 改进配置切换交互 | Improve configuration switching interaction.
45
56## v0.1.2/2023-05-14
67
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ const theme = inject("theme") as InstanceType<typeof Theme>; // 用户配置
131131const configs = inject (" configs" ) as UnwrapNestedRefs <Map <string , IConfig >>; // 用户配置列表
132132const config_default = inject (" config_default" ) as IConfig ; // 用户默认配置
133133const options = computed (() => [... configs .keys ()]);
134- const model_value = ref (" " ); // 选择框值
134+ const model_value = ref (config . server . url ); // 选择框值
135135
136136function saveOnClick(): void {
137137 configs .set (config .server .url , copy (config ));
@@ -145,7 +145,7 @@ function deleteOnClick(): void {
145145
146146function resetOnClick(): void {
147147 merge (config , config_default );
148- model_value .value = " " ;
148+ model_value .value = config . server . url ;
149149}
150150
151151function onChange(key : string | number | Record <string , unknown > | (string | number | Record <string , unknown >)[]): void {
You can’t perform that action at this time.
0 commit comments