mirror of https://github.com/1Panel-dev/1Panel
fix: 解决进入网站编辑没有刷新页面的BUG
parent
806ec557a7
commit
3a7cd173e6
|
@ -1,8 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<!-- <div style="border: 1px solid #6495ed"> -->
|
|
||||||
<el-tabs tab-position="left" v-model="tabIndex">
|
<el-tabs tab-position="left" v-model="tabIndex">
|
||||||
<el-tab-pane :label="$t('website.domainConfig')">
|
<el-tab-pane :label="$t('website.domainConfig')">
|
||||||
<Doamin :id="id" v-if="tabIndex == '0'"></Doamin>
|
<Doamin :key="id" :id="id" v-if="tabIndex == '0'"></Doamin>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane :label="$t('website.sitePath')">
|
<el-tab-pane :label="$t('website.sitePath')">
|
||||||
<SitePath :id="id" v-if="tabIndex == '1'"></SitePath>
|
<SitePath :id="id" v-if="tabIndex == '1'"></SitePath>
|
||||||
|
@ -20,7 +19,6 @@
|
||||||
<Other :id="id" v-if="tabIndex == '5'"></Other>
|
<Other :id="id" v-if="tabIndex == '5'"></Other>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
<!-- </div> -->
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup name="Basic">
|
<script lang="ts" setup name="Basic">
|
||||||
|
@ -36,7 +34,7 @@ import SitePath from './site-folder/index.vue';
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
id: {
|
id: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0,
|
default: -1,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue