asdasd
This commit is contained in:
@@ -173,12 +173,13 @@
|
||||
const isText = (component.is && component.is('text'))
|
||||
|| (component.get && component.get('type') === 'text');
|
||||
try {
|
||||
if (component.set) component.set('content', content);
|
||||
if (isText && component.components) {
|
||||
try {
|
||||
component.components(content);
|
||||
const comps = component.components();
|
||||
if (comps && comps.length) comps.reset();
|
||||
} catch {}
|
||||
}
|
||||
if (component.set) component.set('content', content);
|
||||
} catch {}
|
||||
if (isText && component.view && component.view.el) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user