|
@@ -119,7 +119,7 @@
|
|
if (data.answer == props.activeWord.name) {
|
|
if (data.answer == props.activeWord.name) {
|
|
data.result = true;
|
|
data.result = true;
|
|
resultAudioPlayerD.play('right', 'bei')
|
|
resultAudioPlayerD.play('right', 'bei')
|
|
- noticeBackDb()
|
|
|
|
|
|
+ // noticeBackDb()
|
|
} else {
|
|
} else {
|
|
data.result = false;
|
|
data.result = false;
|
|
resultAudioPlayerD.play('wrong', 'bei')
|
|
resultAudioPlayerD.play('wrong', 'bei')
|
|
@@ -151,7 +151,8 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
- function noticeBackDb() {
|
|
|
|
|
|
+/* function noticeBackDb() {
|
|
|
|
+ 当前功能已废弃,后台接口保留,前台代码注释
|
|
// 通知后台已学完当前单词
|
|
// 通知后台已学完当前单词
|
|
if (userCode == 'Visitor') {
|
|
if (userCode == 'Visitor') {
|
|
// 游客不更新后台
|
|
// 游客不更新后台
|
|
@@ -163,7 +164,7 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
|
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
function handleReset(code) {
|
|
function handleReset(code) {
|
|
if (code == 'all') {
|
|
if (code == 'all') {
|