修复BUG
This commit is contained in:
parent
8ebf71cc3f
commit
35714418b3
|
@ -65,7 +65,7 @@
|
||||||
$("#parameter").val('')
|
$("#parameter").val('')
|
||||||
})
|
})
|
||||||
$('#submit').on('click', function () {
|
$('#submit').on('click', function () {
|
||||||
$.get('/predict', { mode: $("input[name='mode'][checked]").val(), parameter: $('#parameter').val() }, function (result) {
|
$.get('/predict', { mode: $("input[name='mode']:checked").val(), parameter: $('#parameter').val() }, function (result) {
|
||||||
if(result && result.status === 0){
|
if(result && result.status === 0){
|
||||||
text = result.result.map(function(item){
|
text = result.result.map(function(item){
|
||||||
return item.word + '\t' + item.pinyin
|
return item.word + '\t' + item.pinyin
|
||||||
|
|
Loading…
Reference in New Issue