diff --git a/.babelrc b/.babelrc index e5e80efce4bbca3d554b95788152780ad5c23c09..668ce90a246acc1413d11f9283a185c6f1adbd8b 100644 --- a/.babelrc +++ b/.babelrc @@ -12,15 +12,15 @@ "stage-2" ], "plugins": [ - "transform-vue-jsx", - "transform-runtime", [ "component", { "libraryName": "element-ui", "styleLibraryName": "theme-chalk" } - ] + ], + "transform-vue-jsx", + "transform-runtime" ], "env": { "test": { diff --git a/config/index.js b/config/index.js index a0bb03c4af2bac1dcf8f7d101aac622f0b2ae499..2727aca799c73c40fa98a6c7e5315b4b556326b9 100644 --- a/config/index.js +++ b/config/index.js @@ -58,26 +58,22 @@ module.exports = { // https://vue-loader.vuejs.org/en/options.html#cachebusting cacheBusting: true, - cssSourceMap: false, + cssSourceMap: true, }, build: { // Template for index.html index: path.resolve(__dirname, "../dist/index.html"), - // Paths assetsRoot: path.resolve(__dirname, "../dist"), assetsSubDirectory: "myblog_static", assetsPublicPath: "./", - /** * Source Maps */ - productionSourceMap: false, // https://webpack.js.org/configuration/devtool/#production devtool: "#source-map", - // Gzip off by default as many popular myblog_static hosts such as // Surge or Netlify already gzip all myblog_static assets for you. // Before setting to `true`, make sure to: diff --git a/src/App.vue b/src/App.vue index ef79ef87c2530437c1a6ea5db4fe9221a26937b0..fa7c8937848f529ecaa9cd7849e2efefd0245c36 100644 --- a/src/App.vue +++ b/src/App.vue @@ -187,9 +187,6 @@ export default { .post(this.baseUrl + 'count/add/', { ip: clientIp }) - .then((res) => { - console.log(res) - }) .catch((e) => { throw Error(e) }) @@ -210,7 +207,6 @@ export default { }, handleOpen (key, keyPath) { - console.log(key, keyPath) if (key === '3') { this.chat_flag = true this.onlineWebsocket() // 调用跳转 diff --git a/src/components/Article.vue b/src/components/Article.vue index 6db30258022e3cd9a7d81ae50373b85381db6b74..f170dbffe69795fd4f8e9d7de9309c72be08c6a3 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -214,290 +214,290 @@