|
|
@@ -18,7 +18,7 @@ export default class DealSeoData {
|
|
|
fullPath,
|
|
|
query
|
|
|
} = this.app.context.route
|
|
|
- const uid = params.id || ''
|
|
|
+ const uid = params.id || '-1'
|
|
|
const saleId = query.saleId || ''
|
|
|
const act = query.act || ''
|
|
|
this.from = query.from || ''
|
|
|
@@ -149,8 +149,7 @@ export default class DealSeoData {
|
|
|
let descriptionTitle = ''
|
|
|
let description = ''
|
|
|
let canonical = ''
|
|
|
-
|
|
|
- if (!this.isExist) {
|
|
|
+ if (!this.isExist || !this.consultDetail.user) {
|
|
|
// 页面不存在时
|
|
|
return {
|
|
|
title: "页面不存在-程序员客栈",
|