|
@@ -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 {
|