diff --git a/frontend/src/views/container/compose/create/index.vue b/frontend/src/views/container/compose/create/index.vue index ec70118fa..2678e3b7a 100644 --- a/frontend/src/views/container/compose/create/index.vue +++ b/frontend/src/views/container/compose/create/index.vue @@ -199,7 +199,7 @@ const loadPath = async () => { }; const changePath = async () => { - composeFile.value = baseDir.value + '/docker/compose/' + form.name + '/docker-compose.yml'; + composeFile.value = baseDir.value + '/docker/compose/' + form.name + '/xxx'; }; type FormInstance = InstanceType; diff --git a/frontend/src/views/host/firewall/status/index.vue b/frontend/src/views/host/firewall/status/index.vue index 49a25bb0e..cd80aee19 100644 --- a/frontend/src/views/host/firewall/status/index.vue +++ b/frontend/src/views/host/firewall/status/index.vue @@ -100,6 +100,7 @@ const onOperate = async (operation: string) => { }; const onPingOperate = async (operation: string) => { + emit('update:maskShow', false); let operationHelper = operation === 'Enable' ? i18n.global.t('firewall.noPingHelper') : i18n.global.t('firewall.onPingHelper'); ElMessageBox.confirm(operationHelper, i18n.global.t('firewall.noPingTitle'), { @@ -110,6 +111,7 @@ const onPingOperate = async (operation: string) => { emit('update:loading', true); emit('update:status', 'running'); operation = operation === 'Disable' ? 'disablePing' : 'enablePing'; + emit('update:maskShow', true); await operateFire(operation) .then(() => { MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); @@ -120,6 +122,7 @@ const onPingOperate = async (operation: string) => { }); }) .catch(() => { + emit('update:maskShow', true); onPing.value = oldStatus.value; }); };