|
@@ -647,13 +647,14 @@ export default {
|
|
|
return str;
|
|
|
},
|
|
|
showMsg: function () {
|
|
|
+ console.log(this.ruleTermCodeStr, "???", this.msgDict);
|
|
|
return (
|
|
|
- this.ruleTermCodeStr.length > 1 &&
|
|
|
+ this.ruleTermCodeStr.length > 2 &&
|
|
|
this.msgDict.indexOf(this.ruleTermCodeStr) > -1
|
|
|
);
|
|
|
},
|
|
|
showHasSub() {
|
|
|
- if (this.ruleTermCodeStr.length != 0) {
|
|
|
+ if (this.ruleTermCodeStr.length > 2) {
|
|
|
return this.subDict.indexOf(this.ruleTermCodeStr) != -1;
|
|
|
}
|
|
|
return false;
|