File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
frontend/src/views/website/runtime/php/config Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -264,12 +264,6 @@ func (a *AppInstallService) Operate(req request.AppInstalledOperate) error {
264264 }
265265 return syncAppInstallStatus (& install , false )
266266 case constant .Restart :
267- if install .App .Key == "openresty" {
268- websites , _ := websiteRepo .GetBy ()
269- if len (websites ) > 0 {
270- _ = createAllWebsitesWAFConfig (websites )
271- }
272- }
273267 out , err := compose .Restart (dockerComposePath )
274268 if err != nil {
275269 return handleErr (install , err , out )
Original file line number Diff line number Diff line change 88 >
99 <template #content >
1010 <el-tabs tab-position =" left" v-model =" index" >
11+ <el-tab-pane :label =" $t('php.containerConfig')" name =" 6" >
12+ <Container :id =" runtime.id" v-if =" index == '6'" ></Container >
13+ </el-tab-pane >
1114 <el-tab-pane :label =" $t('website.updateConfig')" name =" 0" >
1215 <Config :id =" runtime.id" v-if =" index == '0'" ></Config >
1316 </el-tab-pane >
2629 <el-tab-pane :label =" 'FPM ' + $t('website.source')" name =" 3" >
2730 <PHP :id =" runtime.id" v-if =" index == '3'" :type =" 'fpm'" ></PHP >
2831 </el-tab-pane >
29- <el-tab-pane :label =" $t('php.containerConfig')" name =" 6" >
30- <Container :id =" runtime.id" v-if =" index == '6'" ></Container >
31- </el-tab-pane >
3232 </el-tabs >
3333 </template >
3434 </DrawerPro >
@@ -44,7 +44,7 @@ import PHP from './php-fpm/index.vue';
4444import Performance from ' ./performance/index.vue' ;
4545import Container from ' ./container/index.vue' ;
4646
47- const index = ref (' 0 ' );
47+ const index = ref (' 6 ' );
4848const open = ref (false );
4949const runtime = ref ({
5050 name: ' ' ,
You can’t perform that action at this time.
0 commit comments