|
@@ -609,8 +609,10 @@ class StageIm {
|
|
|
}
|
|
|
for (const im of nodeImData) {
|
|
|
this._calculateBwBillsIm(im);
|
|
|
- im.drawing_code = this.ctx.helper._.uniq(im.drawing_code).join(mergeChar);
|
|
|
- im.position = this.ctx.helper._.uniq(im.position).join(mergeChar);
|
|
|
+ im.drawing_code = im.drawing_code instanceof Array
|
|
|
+ ? this.ctx.helper._.uniq(im.drawing_code).join(mergeChar) : im.drawing_code;
|
|
|
+ im.position = im.position instanceof Array
|
|
|
+ ? this.ctx.helper._.uniq(im.position).join(mergeChar): im.position;
|
|
|
im.id = this.ImData.length + 1;
|
|
|
this.ImData.push(im);
|
|
|
}
|