n20-common-lib 2.6.77 → 2.6.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.6.77",
3
+ "version": "2.6.78",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -265,13 +265,15 @@ export default {
265
265
  this.addTaskV = false
266
266
  },
267
267
  setPendingUserInfo(data) {
268
- Object.keys(data).forEach((id) => {
269
- let task = this.svgW.querySelector(`[data-element-id="${id}"]`)
270
- if (task) {
271
- console.log('setPendingUserInfo:', data[id])
272
- this.addEvent(task, { taskCandidate: data[id] }, 'unApply')
273
- }
274
- })
268
+ if (data) {
269
+ Object.keys(data).forEach((id) => {
270
+ let task = this.svgW.querySelector(`[data-element-id="${id}"]`)
271
+ if (task) {
272
+ console.log('setPendingUserInfo:', data[id])
273
+ this.addEvent(task, { taskCandidate: data[id] }, 'unApply')
274
+ }
275
+ })
276
+ }
275
277
  },
276
278
  setSvgAttrs(str) {
277
279
  this.svgW.innerHTML = str