feat: 完成 docker 配置功能

This commit is contained in:
ssongliu
2022-11-14 19:19:42 +08:00
committed by ssongliu
parent 13bc73ac3c
commit 0dfb9bd5c7
15 changed files with 449 additions and 5 deletions

View File

@@ -83,7 +83,6 @@ import { ChangePort } from '@/api/modules/app';
const extensions = [javascript(), oneDark];
const confShowType = ref('base');
const restartNow = ref(false);
const form = reactive({
name: '',
port: 6379,
@@ -166,10 +165,9 @@ const onSaveFile = async () => {
const onSubmitSave = async () => {
let param = {
file: mysqlConf.value,
restartNow: restartNow.value,
restartNow: true,
};
await updateRedisConfByFile(param);
restartNow.value = false;
ElMessage.success(i18n.global.t('commons.msg.operationSuccess'));
};