修改代码
This commit is contained in:
parent
9c4c6e6572
commit
93378d6956
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue