TypeError
Cannot read property 'split' of undefined
pages/crosspay/_cross/_id.vue:247:
asyncData
},
async asyncData(context) {
let path = context.route.path;
let serviceType = 1; //订单类型: 1服务, 2预约咨询
let costId = context.params.id;
costId = costId.split(".")[0];
// if (context.query.id) {
// serviceType = context.query.type;
// }
// console.log(context.req.headers.cookie);
// HNBSESSION
.nuxt/utils.js:278:
promisify
data = data || {}
resolve(data)
})
})
} else {
promise = fn(context)
}
if (promise && promise instanceof Promise && typeof promise.then === 'function') {
return promise
}
.nuxt/server.js:230:
module.exports.__webpack_exports__.default
if (!Components.length) {
return render404Page()
}
// Call asyncData & fetch hooks on components matched by the route.
const asyncDatas = await Promise.all(Components.map((Component) => {
const promises = []
// Call asyncData(context)
if (Component.options.asyncData && typeof Component.options.asyncData === 'function') {
const promise = promisify(Component.options.asyncData, app.context)
Request Details
URI |
/crosspay/121 |
Request Method |
GET |
HTTP Version |
1.1 |
Connection |
upgrade |
Headers
HOST |
www.hinabian.com |
X-NGINX-PROXY |
true |
X-REAL-IP |
119.8.18.5 |
X-HWWAF-REAL-IP |
119.8.18.5 |
X-HWWAF-CLIENT-IP |
3.237.87.69 |
X-FORWARDED-FOR |
3.237.87.69, 119.8.18.5 |
X-FORWARDED-PROTO |
https |
X-CLOUDWAF-TRAFFIC-TAG |
1 |
ACCEPT |
*/* |
USER-AGENT |
claudebot |
VIA |
LA-MEX-queretaro-EDGE2-CACHE4 |
Cookies