浏览代码

Merge branch 'fix' into test

test
chenJinxu 5 个月前
父节点
当前提交
b798201992
共有 3 个文件被更改,包括 15 次插入3 次删除
  1. +7
    -0
      README.md
  2. +1
    -1
      src/config/models.js
  3. +7
    -2
      src/views/health/psychological-main/index.vue

+ 7
- 0
README.md 查看文件

@@ -1159,3 +1159,10 @@ update
update

- 增加 周报详情不显示对比条件

## v1.0.126

`2024.6.18`
fix

- 修复 心理首页页面显示空白的问题

+ 1
- 1
src/config/models.js 查看文件

@@ -8,7 +8,7 @@
import store from "@/store";
// 情绪模型
const appTypeList = ['1'];
export const VERSION_MODEL = '1.0.125F'; //版本号
export const VERSION_MODEL = '1.0.126F'; //版本号
export const IMAGE_URL = {
production: 'http://zfb.ssjlai.com/web/',
test: 'http://zfb.ssjlai.com/web/',


+ 7
- 2
src/views/health/psychological-main/index.vue 查看文件

@@ -202,8 +202,13 @@ export default {
/* imgUrl = require(`@/assets/img/psychological/${name}_${level}.png`); */
let numLevel = Number(level);
console.log(`@/assets/img/psychological/${name}_${numLevel}.png`);
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1
}.png`);
if (numLevel < 0) {
imgUrl = require(`@/assets/img/psychological/${name}_1.png`);
} else {
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1}.png`);
}


/* switch(level) {
case '0':
imgUrl = require(`@/assets/img/psychological/${name}_${numLevel + 1}.png`);


正在加载...
取消
保存