|
@@ -267,6 +267,9 @@ export default {
|
|
|
//获取左侧菜单列表
|
|
|
getResource().then((res) => {
|
|
|
console.log("res.data=", res.data);
|
|
|
+ if(res.data!=null&&res.data.length>0){
|
|
|
+ res.data = res.data.filter((obj)=>obj.type != 'centerdata_t_forest_fireteam')
|
|
|
+ }
|
|
|
that.resourcesList = res.data;
|
|
|
//截取data.resourceTable字段中“_”分隔符最后一个作为关键字,重新拼接成前端需要的图标:class,格式sj-icon-xxxx,将其set回原数组
|
|
|
res.data.forEach(function (data, index) {
|