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 66 {{ props.database }}
77 </el-text >
88 <el-divider direction =" vertical" />
9- <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" jumpToConf" >
10- {{ $t('database.confChange') }}
11- </el-button >
129 <el-button
1310 type =" primary"
1411 :disabled =" mysqlStatus !== 'Running'"
1714 >
1815 {{ $t('database.currentStatus') }}
1916 </el-button >
17+ <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" jumpToConf" >
18+ {{ $t('database.confChange') }}
19+ </el-button >
2020 <el-button
2121 type =" primary"
2222 :disabled =" mysqlStatus !== 'Running'"
@@ -136,7 +136,7 @@ import CodemirrorPro from '@/components/codemirror-pro/index.vue';
136136
137137const loading = ref (false );
138138
139- const activeName = ref (' conf ' );
139+ const activeName = ref (' status ' );
140140
141141const baseInfo = reactive ({
142142 name: ' ' ,
Original file line number Diff line number Diff line change 66 {{ database }}
77 </el-text >
88 <el-divider direction =" vertical" />
9- <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" changeTab('conf')" >
10- {{ $t('database.confChange') }}
11- </el-button >
129 <el-button
1310 type =" primary"
1411 :disabled =" redisStatus !== 'Running'"
1714 >
1815 {{ $t('database.currentStatus') }}
1916 </el-button >
17+ <el-button type =" primary" :plain =" activeName !== 'conf'" @click =" changeTab('conf')" >
18+ {{ $t('database.confChange') }}
19+ </el-button >
2020 <el-button
2121 type =" primary"
2222 :disabled =" redisStatus !== 'Running'"
@@ -145,7 +145,7 @@ const rules = reactive({
145145 maxmemory: [Rules .number , checkNumberRange (0 , 999999 )],
146146});
147147
148- const activeName = ref (' conf ' );
148+ const activeName = ref (' status ' );
149149const statusRef = ref ();
150150const persistenceRef = ref ();
151151
@@ -192,7 +192,7 @@ const acceptParams = (prop: DialogProps): void => {
192192 redisStatus .value = prop .status ;
193193 database .value = prop .database ;
194194 settingShow .value = true ;
195- loadConfFile ( );
195+ changeTab ( ' status ' );
196196};
197197
198198const portRef = ref ();
You can’t perform that action at this time.
0 commit comments