|
@@ -2,7 +2,7 @@ import { stemTypeList, scoreTypeList, questionNumberTypeList, switchOption, font
|
|
|
import { getRandomNumber } from '@/utils/index';
|
|
|
import { GetStaticResources } from '@/api/app';
|
|
|
import { addTone } from '@/views/exercise_questions/data/common';
|
|
|
-let res_arr = [];
|
|
|
+let res_arr;
|
|
|
|
|
|
export function getOption(content = '') {
|
|
|
return {
|
|
@@ -73,6 +73,7 @@ function handleReplaceTone(value, mark, matically_pinyin_obj) {
|
|
|
export function handleItemPinyin(content, mark, matically_pinyin_obj) {
|
|
|
let content_arr = content.trim().split(' ');
|
|
|
matically_pinyin_obj[mark] = [];
|
|
|
+ res_arr = [];
|
|
|
content_arr.forEach((items) => {
|
|
|
let items_trim = items.trim();
|
|
|
if (items_trim) {
|