|
97 | 97 | > |
98 | 98 | <el-select v-model="runtime.source" filterable default-first-option> |
99 | 99 | <el-option |
100 | | - v-for="service in formFields['CONTAINER_PACKAGE_URL'].values" |
101 | | - :key="service.label" |
102 | | - :value="service.value" |
103 | | - :label="service.label" |
| 100 | + v-for="source in phpSources" |
| 101 | + :key="source.label" |
| 102 | + :value="source.value" |
| 103 | + :label="source.label + ' [' + source.value + ']'" |
104 | 104 | ></el-option> |
105 | 105 | </el-select> |
106 | 106 | </el-form-item> |
@@ -216,41 +216,41 @@ const phpSources = globalStore.isIntl |
216 | 216 | ? [ |
217 | 217 | { |
218 | 218 | label: i18n.global.t('runtime.default'), |
219 | | - value: 'dl-cdn.alpinelinux.org', |
| 219 | + value: 'https://dl-cdn.alpinelinux.org', |
220 | 220 | }, |
221 | 221 | { |
222 | 222 | label: i18n.global.t('runtime.xtom'), |
223 | | - value: 'mirrors.xtom.com', |
| 223 | + value: 'https://mirrors.xtom.com', |
224 | 224 | }, |
225 | 225 | ] |
226 | 226 | : [ |
227 | 227 | { |
228 | 228 | label: i18n.global.t('runtime.ustc'), |
229 | | - value: 'mirrors.ustc.edu.cn', |
| 229 | + value: 'https://mirrors.ustc.edu.cn', |
230 | 230 | }, |
231 | 231 | { |
232 | 232 | label: i18n.global.t('runtime.netease'), |
233 | | - value: 'mirrors.163.com', |
| 233 | + value: 'https://mirrors.163.com', |
234 | 234 | }, |
235 | 235 | { |
236 | 236 | label: i18n.global.t('runtime.aliyun'), |
237 | | - value: 'mirrors.aliyun.com', |
| 237 | + value: 'https://mirrors.aliyun.com', |
238 | 238 | }, |
239 | 239 | { |
240 | 240 | label: i18n.global.t('runtime.tsinghua'), |
241 | | - value: 'mirrors.tuna.tsinghua.edu.cn', |
| 241 | + value: 'https://mirrors.tuna.tsinghua.edu.cn', |
242 | 242 | }, |
243 | 243 | { |
244 | 244 | label: i18n.global.t('runtime.xtomhk'), |
245 | | - value: 'mirrors.xtom.com.hk', |
| 245 | + value: 'https://mirrors.xtom.com.hk', |
246 | 246 | }, |
247 | 247 | { |
248 | 248 | label: i18n.global.t('runtime.xtom'), |
249 | | - value: 'mirrors.xtom.com', |
| 249 | + value: 'https://mirrors.xtom.com', |
250 | 250 | }, |
251 | 251 | { |
252 | | - label: i18n.global.t('runtime.default'), |
253 | | - value: 'dl-cdn.alpinelinux.org', |
| 252 | + label: i18n.global.t('commons.table.default'), |
| 253 | + value: 'https://dl-cdn.alpinelinux.org', |
254 | 254 | }, |
255 | 255 | ]; |
256 | 256 |
|
@@ -476,8 +476,8 @@ const acceptParams = async (props: OperateRrops) => { |
476 | 476 | getRuntime(props.id); |
477 | 477 | } |
478 | 478 | extensions.value = ''; |
479 | | - listPHPExtensions(); |
480 | 479 | open.value = true; |
| 480 | + listPHPExtensions(); |
481 | 481 | }; |
482 | 482 |
|
483 | 483 | defineExpose({ |
|
0 commit comments