mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 17:38:20 +01:00
fix: label shall only allow to show text instead of html content
This commit is contained in:
parent
60137fb4fb
commit
d3540d7575
@ -193,7 +193,7 @@ namespace OS {
|
|||||||
this._text = v;
|
this._text = v;
|
||||||
if (v) {
|
if (v) {
|
||||||
$(this.refs.text).show();
|
$(this.refs.text).show();
|
||||||
$(this.refs.text).html(v.__());
|
$(this.refs.text).text(v.__());
|
||||||
} else {
|
} else {
|
||||||
$(this.refs.text).hide();
|
$(this.refs.text).hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user