fix: 修复无效翻译bug

This commit is contained in:
q4speed 2020-07-14 11:51:03 +08:00
parent 8d22140f32
commit 99bfca41b4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
if (this.component.options.showLabel) {
return this.component.options.showLabel(op);
}
return this.$t(op.label);
return op.label.indexOf(".") !== -1 ? this.$t(op.label) : op.label;
}
}
}