diff --git a/README.md b/README.md index ca767ce..6a14b8c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ @@ -483,4 +483,13 @@ update `2023.6.9` update - 加油包充值购买 - - 修改 支付成功提示 \ No newline at end of file + - 修改 支付成功提示 + + +## v1.0.60 +`2023.6.14` +update +- 心理健康详情页面 + - 修复 历史监测选中非今天的日期后日期显示今天的问题 +- vue.config.js + - 注释 proxy代理相关代码 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index eeee738..9671b34 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -1,11 +1,11 @@ /* * @Date: 2021-11-20 10:26:39 * @LastEditors: JinxChen - * @LastEditTime: 2023-06-09 09:19:02 + * @LastEditTime: 2023-06-14 17:20:38 * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.59F'; //版本号 +export const VERSION_MODEL = '1.0.60F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/health/psychological/index.vue b/src/views/health/psychological/index.vue index 3b3f5ba..ec11198 100644 --- a/src/views/health/psychological/index.vue +++ b/src/views/health/psychological/index.vue @@ -1018,6 +1018,7 @@ export default { // 选择日历具体某一个日期 onSelect(value) { const selectDate = this.$dayjs(value).format("YYYY-MM-DD"); + this.dateList[0].text = this.$dayjs(value).format("YYYY-MM-DD") === this.$dayjs(new Date()).format("YYYY-MM-DD") ? '今天' : this.$dayjs(value).format("YYYY-MM-DD"); this.calendarDialogShow = false; this.getPsychologiclData(selectDate); }, diff --git a/vue.config.js b/vue.config.js index d23b1c6..088b3fd 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2020-04-15 10:00:32 - * @LastEditTime: 2023-06-07 11:21:38 + * @LastEditTime: 2023-06-14 17:10:10 * @LastEditors: JinxChen * @Description: In User Settings Edit * @FilePath: \TelpoH5FrontendWeb\vue.config.js @@ -14,9 +14,9 @@ const pxtorem = require('postcss-pxtorem'); // 把代码中px转为rem const CompressionPlugin = require("compression-webpack-plugin"); const port = process.env.port || process.env.npm_config_port || 8080;/* 7788 */ // dev port -const proxy = process.env.NODE_ENV === 'development' ?{ +/* const proxy = process.env.NODE_ENV === 'development' ?{ // 调试完毕需要把这个代理注释掉,否则发布到线上会有问题产生 - /* '/api/id': { + '/api/id': { target: 'https://id.ssjlai.com/watersoutboundapi/', changeOrigin: true, pathRewrite: { @@ -29,9 +29,9 @@ const proxy = process.env.NODE_ENV === 'development' ?{ pathRewrite: { '^/api/ai': '' } - } */ + } } -: null; +: null; */ module.exports = { // 注意: 多页面配置 不再使用全路径,单页面时可以开启 publicPath: './', @@ -46,7 +46,7 @@ module.exports = { warnings: false, errors: true }, - proxy: proxy, + /* proxy: proxy, */ /* host: '192.168.3.186', */// 原为: hotst: 'localhost', 可在同一ip局域网下通过网址生成二维码的方式调试h5, 注意:调试完毕请注释 //disableHostCheck: true, //真机调试开启 },