this.delayGetDomTimer = setTimeout(() => {
for (let i = 0; i < myCollection.length; i++) {
const str =
myCollection &&
myCollection[i] &&
myCollection[i].getAttribute('style') // 获取样式值(包含所有属性)
// console.log('myCollection:', str, typeof str)
if (
typeof str === 'string' &&
str.indexOf(`mso-char-indent-count: ${19}`) > -1
) {
myCollection[i].style.textAlign = 'right'
}
console.log(window.getComputedStyle(myCollection[i], null).textIndent) // 获取样式属性值
}
}, 300)