fix crap code
This commit is contained in:
@@ -11,7 +11,7 @@ export default function (Vue, { head }) {
|
||||
head.htmlAttrs = { 'data-theme': 'dark' }
|
||||
|
||||
// fix docsearch
|
||||
if (!window.process) {
|
||||
if (window && !window.process) {
|
||||
window.process = {
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
|
||||
Reference in New Issue
Block a user