From 68879fd8f1db9175d218aa7bbd027acdf02c9be5 Mon Sep 17 00:00:00 2001 From: Stille Date: Tue, 13 Sep 2022 00:00:34 +0800 Subject: [PATCH] optimize dialog components --- .gitignore copy | 23 ------------------- README.md | 4 ++-- src/components/common/dialog/DialogLayOut.vue | 22 ++++++++++-------- src/components/common/dialog/index.js | 5 ++++ src/layouts/Layout.vue | 3 +++ src/views/home/HomeForm.vue | 20 +++------------- 6 files changed, 25 insertions(+), 52 deletions(-) delete mode 100644 .gitignore copy create mode 100644 src/components/common/dialog/index.js diff --git a/.gitignore copy b/.gitignore copy deleted file mode 100644 index 403adbc..0000000 --- a/.gitignore copy +++ /dev/null @@ -1,23 +0,0 @@ -.DS_Store -node_modules -/dist - - -# local env files -.env.local -.env.*.local - -# Log files -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* - -# Editor directories and files -.idea -.vscode -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/README.md b/README.md index fe36280..69edfdc 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ docker run -d --name subweb --restart always \ stilleshan/subweb ``` -同时也可以不挂载目录,直接通过`-e`环境变量来修改`API 地址`,`短链接地址`和`站点名称`,但是无法修改`导航链接`. -`注意:以下域名请严格填写 http/https 协议,结尾不要 /` +同时也可以不挂载目录,直接通过`-e`环境变量来修改`API 地址`,`短链接地址`和`站点名称`,但是无法修改`导航链接`. +`注意:以下域名请严格填写 http 或 https 协议,结尾不要 / 斜杠符号.` ```shell docker run -d --name subweb --restart always \ -p 18080:80 \ diff --git a/src/components/common/dialog/DialogLayOut.vue b/src/components/common/dialog/DialogLayOut.vue index 0aa0a9d..1fa6097 100644 --- a/src/components/common/dialog/DialogLayOut.vue +++ b/src/components/common/dialog/DialogLayOut.vue @@ -1,5 +1,5 @@