fix: 修复无效翻译bug
This commit is contained in:
parent
8d22140f32
commit
99bfca41b4
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue