mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-28 00:01:01 +00:00
feat(runtime): fix issue with install php runtime failed (#8230)
This commit is contained in:
@@ -628,6 +628,7 @@ export namespace Website {
|
||||
type: string;
|
||||
databaseID: number;
|
||||
websiteID: number;
|
||||
from: string;
|
||||
}
|
||||
|
||||
export interface ChangeDatabase {
|
||||
|
||||
@@ -45,7 +45,11 @@
|
||||
>
|
||||
<PHP :id="id" v-if="tabIndex == '13'"></PHP>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane :label="$t('logs.resource')" name="14">
|
||||
<el-tab-pane
|
||||
:label="$t('logs.resource')"
|
||||
name="14"
|
||||
v-if="website.type === 'runtime' || website.type === 'static'"
|
||||
>
|
||||
<Resource :id="id" v-if="tabIndex == '14'"></Resource>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane :label="$t('website.other')" name="12">
|
||||
|
||||
@@ -23,7 +23,12 @@
|
||||
>
|
||||
<div class="flex justify-between items-center">
|
||||
<span>{{ item.name }}</span>
|
||||
<el-tag>{{ item.type }}</el-tag>
|
||||
<div>
|
||||
<el-tag>{{ item.type }}</el-tag>
|
||||
<el-tag class="ml-1">
|
||||
{{ item.from === 'local' ? $t('commons.table.local') : $t('database.remote') }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
@@ -272,7 +272,7 @@ const shortcuts = [
|
||||
{
|
||||
text: useI18n().t('website.ever'),
|
||||
value: () => {
|
||||
return new Date('9999-12-31');
|
||||
return new Date('2006-01-02');
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -438,7 +438,10 @@ const pickerVisibility = (visibility: boolean, row: any) => {
|
||||
};
|
||||
|
||||
const updateWebsitConfig = (row: any) => {
|
||||
const reqDate = dateFormatSimple(row.expireDate);
|
||||
let reqDate = dateFormatSimple(row.expireDate);
|
||||
if (reqDate == '2006-01-02') {
|
||||
reqDate = '9999-12-31';
|
||||
}
|
||||
const req = {
|
||||
id: row.id,
|
||||
primaryDomain: row.primaryDomain,
|
||||
|
||||
Reference in New Issue
Block a user