From 80a7e334e486c66efb207e3d4530b92799891ffa Mon Sep 17 00:00:00 2001 From: wanglin <1013335014@qq.com> Date: Wed, 14 Jul 2021 08:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- copy.js | 17 +++++++++++++++++ index.html | 1 - web/src/pages/Edit/components/Toolbar.vue | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 copy.js delete mode 100644 index.html diff --git a/copy.js b/copy.js new file mode 100644 index 00000000..d619a290 --- /dev/null +++ b/copy.js @@ -0,0 +1,17 @@ +const fs = require('fs') +const path = require('path') + +const src = path.resolve(__dirname, './dist/index.html') +const dest = path.resolve(__dirname, './index.html') + +const destStat = fs.statSync(dest) +if (destStat.isFile()) { + fs.unlinkSync(dest) +} + +const srcStat = fs.statSync(src) +if (srcStat.isFile()) { + fs.copyFileSync(src, dest) + fs.unlinkSync(src) +} + diff --git a/index.html b/index.html deleted file mode 100644 index 75c59904..00000000 --- a/index.html +++ /dev/null @@ -1 +0,0 @@ -思绪_一个极简的在线思维导图
\ 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 e5b673f8..9cec7e4c 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 / 6%); + box-shadow: 0 2px 16px 0 rgb(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.06); margin-right: 20px;