@@ -23,7 +23,7 @@ export default {
head() {
return {
bodyAttrs: {
- class: 'kaifain-view'
+ class: ['kaifain-view', 'non-rem']
}
},
@@ -63,7 +63,10 @@
}, {
'name': 'h1',
'content': '开发屋'
- } ]
+ } ],
+ bodyAttrs: {
+ class: 'non-rem'
+ }
async asyncData(ctx) {
@@ -163,6 +163,9 @@ export default {
content: `${title}`,
],
};
@@ -5,7 +5,7 @@
var tid;
var rootItem, rootStyle;
- if (document.body.className.indexOf('kaifain-view') > -1) {
+ if (document.body.className.indexOf('non-rem') > -1) {
return