This commit is contained in:
2026-01-23 13:47:43 +08:00
parent cf368050a5
commit 1deab6254e
2 changed files with 2 additions and 3 deletions

View File

@@ -632,9 +632,8 @@ const userDifficultyCoefficientFormData = reactive<any>({
const userDifficultyCoefficientChartRef = ref(); const userDifficultyCoefficientChartRef = ref();
const getDifficultyLevel = (difficulty: number) => { const getDifficultyLevel = (difficulty: number) => {
const str = DIFFICULTY_COEFFICIENT.value.O[difficulty]; const str = DIFFICULTY_COEFFICIENT.value.O[difficulty];
return str ? str + ', 系数' : '难度系数'; return str ? str : '难度系数';
}; };
// console.log(getDifficultyLevel(5), '000000');
const initUserDifficultyCoefficientStatistics = async () => { const initUserDifficultyCoefficientStatistics = async () => {
let xData: any = []; let xData: any = [];
// const yData:any = [1, 2, 3, 4]; // const yData:any = [1, 2, 3, 4];

View File

@@ -497,7 +497,7 @@ const queryUserTaskCompletion = async () => {
// }); // });
const getDifficultyLevel = (difficulty: number) => { const getDifficultyLevel = (difficulty: number) => {
const str = DIFFICULTY_COEFFICIENT.value.O[difficulty]; const str = DIFFICULTY_COEFFICIENT.value.O[difficulty];
return str ? str + ', 系数' : '难度系数'; return str ? str : '难度系数';
}; };
const userDifficultyCoefficientChartRef = ref(); const userDifficultyCoefficientChartRef = ref();
const queryUserDifficultStatistics = async () => { const queryUserDifficultStatistics = async () => {