fix: 修复复制静态文件时接口报错 (#175)

This commit is contained in:
lizhijie429 2023-12-22 14:20:04 +08:00 committed by GitHub
parent 069b051457
commit 422714e7a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -163,6 +163,11 @@ export default {
isPage: true
}
if (createParams.id) {
delete createParams.id
delete createParams._id
}
requestCreatePage(createParams)
.then((data) => {
pageSettingState.updateTreeData()