fix: the problem that post cannot be previewed (#437)

pull/441/head
guqing 2022-02-15 22:12:45 +08:00 committed by GitHub
parent 35e47ee309
commit 022a3e1648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ export default {
apiClient.post
.getPreviewLinkById(this.postToStage.id)
.then(response => {
window.open(response.data, '_blank')
window.open(response, '_blank')
this.handleRestoreSavedStatus()
})
.finally(() => {
@ -197,7 +197,7 @@ export default {
apiClient.post
.getPreviewLinkById(this.postToStage.id)
.then(response => {
window.open(response.data, '_blank')
window.open(response, '_blank')
this.handleRestoreSavedStatus()
})
.finally(() => {

View File

@ -176,7 +176,7 @@ export default {
apiClient.sheet
.getPreviewLinkById(this.sheetToStage.id)
.then(response => {
window.open(response.data, '_blank')
window.open(response, '_blank')
this.handleRestoreSavedStatus()
})
.finally(() => {
@ -192,7 +192,7 @@ export default {
apiClient.sheet
.getPreviewLinkById(this.sheetToStage.id)
.then(response => {
window.open(response.data, '_blank')
window.open(response, '_blank')
this.handleRestoreSavedStatus()
})
.finally(() => {