From a79a4a5c58a3914a5f2a5169a244f591ce6556b1 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Wed, 21 Jul 2021 15:49:12 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20env=20host=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +++ .env.production | 3 +++ CHANGELOG.md | 1 + src/utils/indexedDB.js | 2 +- vue.config.js | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.env.development b/.env.development index cb5dd6e..3055417 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,5 @@ +VUE_APP_NODE_ENV=development VUE_APP_BASE_URL=https://test.tall.wiki VUE_APP_API_URL=https://test.tall.wiki/gateway +VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws +VUE_APP_PUBLIC_PATH=/pt-dev/ diff --git a/.env.production b/.env.production index e487f5a..90fde14 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,5 @@ +VUE_APP_NODE_ENV=production VUE_APP_BASE_URL=https://www.tall.wiki VUE_APP_API_URL=https://www.tall.wiki/gateway +VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws +VUE_APP_PUBLIC_PATH=/pt-dev/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 935b7ce..532acc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - | db store | [6414c4f](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/6414c4f) - | indexedDB | [687394e](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/687394e) - | post 封装 | [da52e94](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/da52e94) + - | tall插件封装 | [1bcb920](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/1bcb920) - | 提交到本地 | [9cbe411](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/9cbe411) - | 时间基准线,默认插件 | [a33ba1e](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/a33ba1e) - | 时间轴修改状态时提示框增加 | [e841392](http://gitea@dd.tall.wiki:wally/TALL-MUI-3/commits/e841392) diff --git a/src/utils/indexedDB.js b/src/utils/indexedDB.js index 17e245f..58329ed 100644 --- a/src/utils/indexedDB.js +++ b/src/utils/indexedDB.js @@ -178,7 +178,7 @@ const install = Vue => { }; // create - console.log(curriedCreate(Vue.prototype.$db.db)); + // console.log(curriedCreate(Vue.prototype.$db.db)); Vue.prototype.$db.create = curriedCreate(Vue.prototype.$db.db); }; diff --git a/vue.config.js b/vue.config.js index fd081e3..854f18d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,6 +6,7 @@ module.exports = { productionSourceMap: false, devServer: { // open: true, + host: '127.0.0.1', overlay: { warnings: false, errors: true }, // proxy: {} },