|
@@ -92,14 +92,15 @@ export default defineComponent({
|
|
* */
|
|
* */
|
|
let scoreStr = ref("");
|
|
let scoreStr = ref("");
|
|
watch(
|
|
watch(
|
|
- () => store.currentQuestion,
|
|
|
|
|
|
+ () => [store.currentQuestion, store.setting.uiSetting["normal.mode"]],
|
|
() => {
|
|
() => {
|
|
if (isNumber(store.currentQuestion?.score)) {
|
|
if (isNumber(store.currentQuestion?.score)) {
|
|
scoreStr.value = "" + store.currentQuestion?.score;
|
|
scoreStr.value = "" + store.currentQuestion?.score;
|
|
} else {
|
|
} else {
|
|
scoreStr.value = "";
|
|
scoreStr.value = "";
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ { immediate: true }
|
|
);
|
|
);
|
|
|
|
|
|
const questionScoreSteps = computed(() => {
|
|
const questionScoreSteps = computed(() => {
|