Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
xianyunleo committed Nov 25, 2024
1 parent cd1fd84 commit 2b60521
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const getNginxRequirePhpList = async () => {
}
const oneClickStart = async () => {
const oneClickServerList = (ref(Settings.get('OneClickServerList'))).value
const oneClickServerList = Settings.get('OneClickServerList')
const websitePhpFpmSwitch = oneClickServerList.includes('PHP-FPM')
const requirePhpList = await getNginxRequirePhpList()
const doStartServerClick = async (item) => {
Expand All @@ -231,7 +231,7 @@ const oneClickStart = async () => {
}
const oneClickStop = async () => {
const oneClickServerList = (ref(Settings.get('OneClickServerList'))).value
const oneClickServerList = Settings.get('OneClickServerList')
const websitePhpFpmSwitch = oneClickServerList.includes('PHP-FPM')
const requirePhpList = await getNginxRequirePhpList()
const doStopServerClick = async (item) => {
Expand Down

0 comments on commit 2b60521

Please sign in to comment.