|
|
@ -1182,6 +1182,9 @@ export default { |
|
|
|
const { data, code, msg } = await requestGet(url); |
|
|
|
if (code === 0) { |
|
|
|
this.treeData = []; |
|
|
|
if(data.showActualNum){ |
|
|
|
data.showName = `${data.label}(${data.showActualNum})` |
|
|
|
} |
|
|
|
this.treeData.push(data); |
|
|
|
this.autoOpenArr.push(data.id); |
|
|
|
if (!isRefresh && data) { |
|
|
|