diff --git a/src/views/wordDict/wordDict.vue b/src/views/wordDict/wordDict.vue index fe23c7f..bdc647e 100644 --- a/src/views/wordDict/wordDict.vue +++ b/src/views/wordDict/wordDict.vue @@ -193,7 +193,7 @@ }else{ const lastCategory = cateList.value[cateList.value.length - 1]; category = lastCategory ? lastCategory.value + 1 : 600101; - newCodName = data; + newCodName = data.trim(); } sendWordRequest(category, wordData, newCodName); };