|
@@ -2076,12 +2076,12 @@ export default {
|
|
obj.type = data.type;
|
|
obj.type = data.type;
|
|
obj.count = data.num;
|
|
obj.count = data.num;
|
|
obj.icon = icon;
|
|
obj.icon = icon;
|
|
- _this.resourcesList.push(obj);
|
|
|
|
|
|
+ _this.resourcesList1.push(obj);
|
|
console.log("icon_" + (index + 1) + "=", icon);
|
|
console.log("icon_" + (index + 1) + "=", icon);
|
|
//每个图标对应固定颜色
|
|
//每个图标对应固定颜色
|
|
- _this.$set(_this.resourcesList[index], "bg", getIconBg(icon));
|
|
|
|
|
|
+ _this.$set(_this.resourcesList1[index], "bg", getIconBg(icon));
|
|
});
|
|
});
|
|
- _this.resourcesList.push({
|
|
|
|
|
|
+ _this.resourcesList1.push({
|
|
resourceName: "摄像头",
|
|
resourceName: "摄像头",
|
|
type: "sxt",
|
|
type: "sxt",
|
|
count: "1",
|
|
count: "1",
|