|
@@ -817,7 +817,7 @@
|
|
|
stopWordList = JSON.parse(JSON.stringify(oldstopWordList));
|
|
|
}
|
|
|
$("#stop_word_table").empty()
|
|
|
-
|
|
|
+ $("#allwordnumber").text(stopWordList.length)
|
|
|
// < span style = "margin-right: 24px" id = "edit${i}" @click="edit(item)" > 编辑</span >
|
|
|
for (let i = 0; i < stopWordList.length; i++) {
|
|
|
let node = ` <div class="one">
|
|
@@ -860,13 +860,14 @@
|
|
|
dataType: "json",
|
|
|
type: "post",
|
|
|
success: function(data) {
|
|
|
- let val = $("#wordContent").val()
|
|
|
- if (val != "") {
|
|
|
- $("#seekWordBtn").click()
|
|
|
- } else {
|
|
|
- changeWordData("msg")
|
|
|
-
|
|
|
- }
|
|
|
+ // let val = $("#wordContent").val()
|
|
|
+ // if (val != "") {
|
|
|
+ // $("#seekWordBtn").click()
|
|
|
+ // } else {
|
|
|
+ // changeWordData("msg")
|
|
|
+
|
|
|
+ // }
|
|
|
+ changeWordData("msg")
|
|
|
},
|
|
|
error: function(jqXHR, textStatus, errorThrown) {
|
|
|
if (jqXHR.status == 401) {
|
|
@@ -901,6 +902,7 @@
|
|
|
})
|
|
|
// 清空
|
|
|
$("#emptyWord").click(function() {
|
|
|
+ $("#allwordnumber").text(0)
|
|
|
oldstopWordList = []
|
|
|
updatawordData()
|
|
|
})
|
|
@@ -937,6 +939,7 @@
|
|
|
$("#wordTable").show()
|
|
|
$("#addwordDom").hide()
|
|
|
updatawordData()
|
|
|
+ $("#addwordContent").val("")
|
|
|
}
|
|
|
})
|
|
|
// 确定修改
|