File tree Expand file tree Collapse file tree 4 files changed +39
-8
lines changed Expand file tree Collapse file tree 4 files changed +39
-8
lines changed Original file line number Diff line number Diff line change 6060 ></el-radio-button >
6161 </el-radio-group >
6262 </template >
63- <template v-else-if =" isLinux " ></template >
63+ <template v-else-if =" isLinux " >
64+ <el-radio-group v-model =" lib" size =" small" >
65+ <el-radio-button value =" loaded" >{{
66+ I18nT('php.loadedExtensions')
67+ }}</el-radio-button >
68+ <template v-if =" isHomeBrew " >
69+ <el-radio-button value =" homebrew" >Homebrew</el-radio-button >
70+ </template >
71+ </el-radio-group >
72+ </template >
6473 </div >
6574 <el-button class =" button" :disabled =" loading" link @click =" reFetch" >
6675 <yb-icon
Original file line number Diff line number Diff line change 1515 })
1616
1717 const vm = computed (() => {
18- if (isMacOS .value ) {
19- return markRaw (defineAsyncComponent (() => import (' ./Index.vue' )))
20- }
2118 if (isWindows .value ) {
2219 return markRaw (defineAsyncComponent (() => import (' ./Index.win.vue' )))
2320 }
24- return undefined
21+ return markRaw ( defineAsyncComponent (() => import ( ' ./Index.vue ' )))
2522 })
2623 </script >
Original file line number Diff line number Diff line change 5555 ></el-radio-button >
5656 </el-radio-group >
5757 </template >
58- <template v-else-if =" isLinux " > </template >
58+ <template v-else-if =" isLinux " >
59+ <el-radio-group v-model =" libSrc" size =" small" class =" ml-6" >
60+ <el-radio-button
61+ class =" flex-1"
62+ :label =" I18nT('versionmanager.Local')"
63+ value =" local"
64+ ></el-radio-button >
65+ <template v-if =" hasStatic " >
66+ <el-radio-button value =" static" >Static</el-radio-button >
67+ </template >
68+ <template v-if =" showBrewLib !== false " >
69+ <el-radio-button value =" brew" >Homebrew</el-radio-button >
70+ </template >
71+ </el-radio-group >
72+ </template >
5973 </div >
6074 <el-button class =" button" link :disabled =" loading" @click =" reFetch" >
6175 <yb-icon
8094 <LocalVM :type-flag =" typeFlag" />
8195 </template >
8296 </template >
97+ <template v-else-if =" isLinux " >
98+ <template v-if =" libSrc === ' brew' " >
99+ <BrewVM :type-flag =" typeFlag" />
100+ </template >
101+ <template v-else-if =" libSrc === ' static' " >
102+ <StaticVM :type-flag =" typeFlag" />
103+ </template >
104+ <template v-else-if =" libSrc === ' local' " >
105+ <LocalVM :type-flag =" typeFlag" />
106+ </template >
107+ </template >
83108 <template v-else-if =" isWindows " >
84109 <template v-if =" libSrc === ' local' " >
85110 <LocalVM :type-flag =" typeFlag" />
89114 </template >
90115 </template >
91116
92- <template v-if =" isMacOS && showFooter " #footer >
117+ <template v-if =" ! isWindows && showFooter " #footer >
93118 <template v-if =" taskEnd " >
94119 <el-button type =" primary" @click.stop =" taskConfirm" >{{ I18nT('base.confirm') }}</el-button >
95120 </template >
Original file line number Diff line number Diff line change 6767 <StaticVM :type-flag =" typeFlag" />
6868 </template >
6969 </template >
70- <template v-if =" ( isMacOS || isLinux ) && showFooter " #footer >
70+ <template v-if =" ! isWindows && showFooter " #footer >
7171 <template v-if =" taskEnd " >
7272 <el-button type =" primary" @click.stop =" taskConfirm" >{{ I18nT('base.confirm') }}</el-button >
7373 </template >
You can’t perform that action at this time.
0 commit comments