File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
frontend/src/views/database Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 44 <template #title >
55 <back-button name =" MySQL" :header =" props.database + ' ' + $t('commons.button.set')" >
66 <template #buttons >
7- <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" jumpToConf" >
8- {{ $t('database.confChange') }}
9- </el-button >
107 <el-button
118 type =" primary"
129 :disabled =" mysqlStatus !== 'Running'"
1512 >
1613 {{ $t('database.currentStatus') }}
1714 </el-button >
15+ <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" jumpToConf" >
16+ {{ $t('database.confChange') }}
17+ </el-button >
1818 <el-button
1919 type =" primary"
2020 :disabled =" mysqlStatus !== 'Running'"
@@ -159,7 +159,7 @@ const globalStore = GlobalStore();
159159const loading = ref (false );
160160
161161const extensions = [javascript (), oneDark ];
162- const activeName = ref (' conf ' );
162+ const activeName = ref (' status ' );
163163
164164const baseInfo = reactive ({
165165 name: ' ' ,
Original file line number Diff line number Diff line change 22 <div v-show =" settingShow" v-loading =" loading" >
33 <LayoutContent :title =" database + ' ' + $t('commons.button.set')" :reload =" true" >
44 <template #buttons >
5- <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" changeTab('conf')" >
6- {{ $t('database.confChange') }}
7- </el-button >
85 <el-button
96 type =" primary"
107 :disabled =" redisStatus !== 'Running'"
1310 >
1411 {{ $t('database.currentStatus') }}
1512 </el-button >
13+ <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" changeTab('conf')" >
14+ {{ $t('database.confChange') }}
15+ </el-button >
1616 <el-button
1717 type =" primary"
1818 :disabled =" redisStatus !== 'Running'"
@@ -170,7 +170,7 @@ const rules = reactive({
170170 maxmemory: [Rules .number , checkNumberRange (0 , 999999 )],
171171});
172172
173- const activeName = ref (' conf ' );
173+ const activeName = ref (' status ' );
174174const statusRef = ref ();
175175const persistenceRef = ref ();
176176
@@ -217,7 +217,7 @@ const acceptParams = (prop: DialogProps): void => {
217217 redisStatus .value = prop .status ;
218218 database .value = prop .database ;
219219 settingShow .value = true ;
220- loadConfFile ( );
220+ changeTab ( ' status ' );
221221};
222222
223223const portRef = ref ();
You can’t perform that action at this time.
0 commit comments