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;