From acad210d57978f85efad1913ecb798c09abf0908 Mon Sep 17 00:00:00 2001
From: wanglin2 <1013335014@qq.com>
Date: Wed, 14 Jul 2021 09:54:45 +0800
Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 2 +-
web/src/pages/Edit/components/Toolbar.vue | 2 +-
web/vue.config.js | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index 1488ee0c..6ee51486 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-
思绪_一个极简的在线思维导图
\ No newline at end of file
+思绪_一个极简的在线思维导图
\ No newline at end of file
diff --git a/web/src/pages/Edit/components/Toolbar.vue b/web/src/pages/Edit/components/Toolbar.vue
index 9cec7e4c..3915c644 100644
--- a/web/src/pages/Edit/components/Toolbar.vue
+++ b/web/src/pages/Edit/components/Toolbar.vue
@@ -213,7 +213,7 @@ export default {
background-color: #fff;
padding: 10px 20px;
border-radius: 6px;
- box-shadow: 0 2px 16px 0 rgb(0, 0, 0, 0.06);
+ box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.06);
border: 1px solid rgba(0, 0, 0, 0.06);
margin-right: 20px;
diff --git a/web/vue.config.js b/web/vue.config.js
index 0daee3c7..54c939b0 100644
--- a/web/vue.config.js
+++ b/web/vue.config.js
@@ -1,7 +1,8 @@
const path = require('path');
+const isDev = process.env.NODE_ENV === 'development'
module.exports = {
- publicPath: './dist',
+ publicPath: isDev ? '' : './dist',
outputDir: '../dist',
lintOnSave: false,
productionSourceMap: false,