修复网站导航链接
This commit is contained in:
@@ -53,13 +53,7 @@
|
||||
<span class="cursor-pointer" v-if="isDirectory(record)"></span>
|
||||
<span
|
||||
v-else
|
||||
@click="
|
||||
openSpmUrl(
|
||||
`https://${record.tenantId}.wsdns.cn${record.path}`,
|
||||
record,
|
||||
record.navigationId
|
||||
)
|
||||
"
|
||||
@click="openSpmUrl(`${record.path}`, record, record.navigationId)"
|
||||
class="ele-text-placeholder cursor-pointer"
|
||||
>{{ record.path }}</span
|
||||
>
|
||||
@@ -207,10 +201,12 @@
|
||||
import { openSpmUrl } from '@/utils/common';
|
||||
import { getSiteInfo } from '@/api/layout';
|
||||
import { CmsDesign } from '@/api/cms/cmsDesign/model';
|
||||
import router from '@/router';
|
||||
import { getSiteDomain } from '@/utils/domain';
|
||||
|
||||
// 表格实例
|
||||
const tableRef = ref<InstanceType<typeof EleProTable> | null>(null);
|
||||
// 网站项目域名
|
||||
const domain = ref(getSiteDomain());
|
||||
|
||||
// 表格列配置
|
||||
const columns = ref<ColumnItem[]>([
|
||||
@@ -305,7 +301,6 @@
|
||||
const searchText = ref('');
|
||||
const position = ref(1);
|
||||
const tenantId = ref<number>();
|
||||
const domain = ref<string>();
|
||||
|
||||
getSiteInfo().then((data) => {
|
||||
tenantId.value = data.tenantId;
|
||||
|
||||
Reference in New Issue
Block a user