Prechádzať zdrojové kódy

编辑页面 改回原术语名称无法保存的bug

morphone1995 4 rokov pred
rodič
commit
e297869dc0

+ 2 - 0
src/components/cdssManage/knowledge/AddKnowledge.vue

@@ -470,6 +470,8 @@ export default {
     // 处理拼音转换&验证唯一性
     handlePinyin(e) {
       if (this.nameFlag === e.target.value) {
+        console.log(this.isTrans,'this.isTrans');
+        this.isTrans = true
         this.isValidate = true; // 校验通过
         this.form.pycode = pinyin.getCamelChars(e.target.value);
       } else {