А
Size: a a a
А
w
{
"_custom": {
"type": "router",
"abstract": true,
"value": {
"path": "/about-us",
"query": {},
"params": {},
"fullPath": "/about-us",
"name": "about-us",
"meta": {}
}
}
}
w
V
А
V
V
IB
meta: {
theme: 'dark'
}
IB
IB
IB
w
w
Д
IB
С
async asyncData({store, params}) {
try {
const article = await store.dispatch('pages/articleDetail', params);
//---article - это верстка из базы
const parser = new DOMParser();
let doc = parser.parseFromString(article, "text/html")
console.log(doc)
return {article}
} catch(e) {
}
Uncaught TypeError: Cannot read property 'trim' of null
at showFrameContext ((index):792)
at (index):830
at HTMLDocument.<anonymous> (zepto.min.js:2)
SL
SL