改造文章管理系统

This commit is contained in:
2024-08-27 07:22:22 +08:00
parent 13832d9de0
commit 31ec8e057a
41 changed files with 4041 additions and 525 deletions

View File

@@ -66,9 +66,16 @@
style="margin-right: 10px"
v-if="record.image"
/>
<a @click="openPreview(`/article/` + record.categoryId)">{{
record.title
}}</a>
<a
@click="
openSpmUrl(
`/article/${record.categoryId}`,
record,
record.categoryId
)
"
>{{ record.title }}</a
>
</template>
<template v-if="column.key === 'showIndex'">
<a-space @click="onShowIndex(record)">
@@ -153,7 +160,7 @@
ArticleCategory,
ArticleCategoryParam
} from '@/api/cms/category/model';
import { openNew, openPreview } from '@/utils/common';
import { openNew, openPreview, openSpmUrl } from '@/utils/common';
import { getSiteInfo } from '@/api/layout';
// 表格实例