@zkwq/business 0.0.71 → 0.0.72

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/dist/index.js CHANGED
@@ -28517,6 +28517,10 @@ const Bk = {
28517
28517
  disabled: {
28518
28518
  type: Boolean,
28519
28519
  default: !1
28520
+ },
28521
+ oneIns: {
28522
+ type: Boolean,
28523
+ default: !1
28520
28524
  }
28521
28525
  },
28522
28526
  watch: {
@@ -28596,7 +28600,8 @@ const Bk = {
28596
28600
  this.isEditAuthor ? this.newAuthors.splice(this.editAuthorIndex, 1, e) : this.newAuthors.push(e), this.updateAuthors(), this._toggleAddAuthor(!1), this.isEditAuthor = !1;
28597
28601
  },
28598
28602
  _authorSelectChange(e) {
28599
- typeof e == "string" ? this.authorInfo.name = e : (this.authorInfo.id = e.id, this.authorInfo.name = e.name, this.authorInfo.institution = e.affiliation);
28603
+ var t, s;
28604
+ typeof e == "string" ? this.authorInfo.name = e : (this.authorInfo.id = e.id, this.authorInfo.name = e.name, this.authorInfo.institution = ((t = e.affiliation) == null ? void 0 : t.length) > 0 ? this.oneIns ? [(s = e.affiliation) == null ? void 0 : s[0]] : e.affiliation : []);
28600
28605
  },
28601
28606
  removeAuthor(e) {
28602
28607
  this.newAuthors.splice(e, 1), this.updateAuthors();
@@ -28612,7 +28617,7 @@ var Rk = /* @__PURE__ */ b(
28612
28617
  Ok,
28613
28618
  !1,
28614
28619
  Vk,
28615
- "6c87b540",
28620
+ "bf37dea6",
28616
28621
  null,
28617
28622
  null
28618
28623
  );