fix: bug
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ ENV = 'development'
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
|
||||
|
||||
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ ENV = 'development'
|
||||
# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
|
||||
# sit
|
||||
|
||||
VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
|
||||
# VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
|
||||
|
||||
# UAT
|
||||
# VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786'
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
computed: {
|
||||
dataValue() {
|
||||
// return this.dataList.map(t=>t.anlyGrade)
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade||100) * 100)
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade || t.pct ||100) * 100)
|
||||
},
|
||||
chartWidth() {
|
||||
return this.size + 'rpx'
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
})
|
||||
const dataValue = computed(() => {
|
||||
// return props.dataList.map(t => t.anlyGrade)
|
||||
return props.dataList.map(t => t.anlyGrade / (t.totalGrade || 100) * 100)
|
||||
return props.dataList.map(t => t.anlyGrade / (t.totalGrade || t.pct || 100) * 100)
|
||||
})
|
||||
const chartWidth = computed(() => props.size + 'rpx')
|
||||
const chartHeight = computed(() => props.size + 'rpx')
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
},
|
||||
computed:{
|
||||
dataValue(){
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade||100) * 100)
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade || t.pct ||100) * 100)
|
||||
},
|
||||
chartWidth(){
|
||||
return this.size + 'rpx'
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
computed:{
|
||||
dataValue(){
|
||||
// return this.dataList.map(t=>t.anlyGrade)
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade||100) * 100)
|
||||
return this.dataList.map(t=>t.anlyGrade / (t.totalGrade || t.pct ||100) * 100)
|
||||
},
|
||||
chartWidth(){
|
||||
return this.size + 'rpx'
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
})
|
||||
const dataValue = computed(() => {
|
||||
// return props.dataList.map(t => t.anlyGrade)
|
||||
return props.dataList.map(t => t.anlyGrade / (t.totalGrade || 100) * 100)
|
||||
return props.dataList.map(t => t.anlyGrade / (t.totalGrade || t.pct || 100) * 100)
|
||||
})
|
||||
let _scale = .9
|
||||
const chartWidth = computed(() => props.size / _scale + 'rpx')
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
box-sizing: border-box;
|
||||
font-weight: 500;
|
||||
color: #fff;
|
||||
top:0;
|
||||
top: var(--status-bar-height);
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
left: 36rpx;
|
||||
top: 20rpx;
|
||||
color: #fff !important;
|
||||
z-index: 10;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.back-icon {
|
||||
|
||||
Reference in New Issue
Block a user