n20-common-lib 1.3.39 → 1.3.40

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": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -397,6 +397,10 @@ export default {
397
397
  uploadHttpRequest: {
398
398
  type: Function,
399
399
  default: undefined
400
+ },
401
+ getFileMethod: {
402
+ type: Function,
403
+ default: undefined
400
404
  }
401
405
  },
402
406
  data() {
@@ -463,6 +467,10 @@ export default {
463
467
  },
464
468
 
465
469
  async getFileInfo(row) {
470
+ if (this.getFileMethod) {
471
+ return await this.getFileMethod(row)
472
+ }
473
+
466
474
  let _url = row[this.keys.url]
467
475
  this.seePrefix && (_url = this.seePrefix + _url)
468
476
  if (_url) {
@@ -145,7 +145,6 @@ export default {
145
145
  },
146
146
  set(value) {
147
147
  if (this.filteredValue) {
148
- console.log(this.filteredValue, 567)
149
148
  if (typeof value !== 'undefined' && value !== null) {
150
149
  this.filteredValue.splice(0, 1, value)
151
150
  } else {