Browse Source

Merge branch 'fix' into test

test
chenJinxu 5 months ago
parent
commit
b798201992
3 changed files with 15 additions and 3 deletions
  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 View File

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

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

## v1.0.126

`2024.6.18`
fix

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

+ 1
- 1
src/config/models.js View File

@@ -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 View File

@@ -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`);


Loading…
Cancel
Save