ads
This commit is contained in:
@@ -1 +1 @@
|
||||
1.1.26
|
||||
1.1.27
|
||||
@@ -187,6 +187,15 @@
|
||||
if (component.view && typeof component.view.render === 'function') {
|
||||
component.view.render();
|
||||
}
|
||||
if (isText && component.view && component.view.el) {
|
||||
try {
|
||||
const currentHtml = String(component.view.el.innerHTML || '').trim();
|
||||
const targetHtml = String(content || '').trim();
|
||||
if (targetHtml && currentHtml !== targetHtml) {
|
||||
component.view.el.innerHTML = targetHtml;
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
if (component.trigger) {
|
||||
component.trigger('change:content');
|
||||
component.trigger('change:components');
|
||||
|
||||
Reference in New Issue
Block a user