|
@@ -94,7 +94,7 @@ const useTestScoresList = () => {
|
|
let maxScore =ref(0)
|
|
let maxScore =ref(0)
|
|
onBeforeMount(async () => {
|
|
onBeforeMount(async () => {
|
|
let res = await getScoreInfoByUserId({
|
|
let res = await getScoreInfoByUserId({
|
|
- userId: Number(GetQueryString("id")),
|
|
|
|
|
|
+ userId: Number(GetQueryString("id")||""),
|
|
|
|
|
|
|
|
|
|
});
|
|
});
|
|
@@ -143,7 +143,7 @@ const useTestScoresInfo = () => {
|
|
const { testScoresList,maxScore } = useTestScoresList();
|
|
const { testScoresList,maxScore } = useTestScoresList();
|
|
const { testScoresInfo } = useTestScoresInfo();
|
|
const { testScoresInfo } = useTestScoresInfo();
|
|
const { goMockTest } = new RouterBus();
|
|
const { goMockTest } = new RouterBus();
|
|
-const nickName = ref(window.decodeURIComponent(GetQueryString("nickName")))
|
|
|
|
|
|
+const nickName = ref(window.decodeURIComponent(GetQueryString("nickName")||""))
|
|
const headImage = ref(GetQueryString("headImage"))
|
|
const headImage = ref(GetQueryString("headImage"))
|
|
</script>
|
|
</script>
|
|
|
|
|