let xstr = this.xmlStr;
var pattern = /<[^>]+\/>/g; // 匹配所有HTML标签
var matches = xstr.match(pattern);
matches.forEach((v) => {
let x = v.replace('<', '');
x = x.replace('/>', '');
xstr = xstr.replace(v, x);
});
let xstr = this.xmlStr;
var pattern = /<[^>]+\/>/g; // 匹配所有HTML标签
var matches = xstr.match(pattern);
matches.forEach((v) => {
let x = v.replace('<', '');
x = x.replace('/>', '');
xstr = xstr.replace(v, x);
});