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,