修改代码

This commit is contained in:
jacky 2024-04-21 11:00:55 +08:00
parent 9c4c6e6572
commit 93378d6956
1 changed files with 7 additions and 5 deletions

View File

@ -114,13 +114,16 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
import { ElMessage } from 'element-plus'
import { getArticlePreviewPath } from '@/utils/format' import { getArticlePreviewPath } from '@/utils/format'
import { getArticleList } from '@/api/article' import { getArticleList } from '@/api/article'
import { statusOptions, formatArticleType, formatStatus } from '@/utils/options' // import { getCategoryTree } from '@/api/category'
import { getCategoryTree } from '@/api/category' // import { getChannelTree } from '@/api/channel'
import { getChannelTree } from '@/api/channel'
import { formatTimeToStr } from '@/utils/date' import { formatTimeToStr } from '@/utils/date'
import {
statusOptions,
formatArticleType,
formatStatus
} from '@/utils/options'
// //
defineOptions({ defineOptions({
@ -222,7 +225,6 @@ const openPage = async (params, includeIds) => {
if (res && res.code === 0) { if (res && res.code === 0) {
selectedData.value = res.data.list selectedData.value = res.data.list
} }
console.log(res.data.list)
} }
initSearchInfo() initSearchInfo()