fix: Modify previewType is missing (#1754)
This commit is contained in:
parent
63bd3b096c
commit
2fcc416bcf
|
|
@ -252,7 +252,8 @@ export default {
|
|||
page_content: item.content,
|
||||
id: item.blockId || item.block_id,
|
||||
history: item.id,
|
||||
name: item.label
|
||||
name: item.label,
|
||||
previewType: 'page'
|
||||
},
|
||||
true
|
||||
)
|
||||
|
|
|
|||
|
|
@ -57,7 +57,8 @@ export default {
|
|||
const params = {
|
||||
...item,
|
||||
id: Number(item.page),
|
||||
history: item.id
|
||||
history: item.id,
|
||||
previewType: 'page'
|
||||
}
|
||||
params.ancestors = await getFamily(params)
|
||||
previewPage(params, true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue