jwt-ui 1.10.69 → 1.10.71

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/lib/jwt-ui.es.js CHANGED
@@ -36070,7 +36070,12 @@ const u1 = new I_e(), j_e = {
36070
36070
  const n = e, r = t;
36071
36071
  function o(c) {
36072
36072
  try {
36073
- fetch("" + c, {}).then((f) => {
36073
+ fetch("" + c, {
36074
+ headers: {
36075
+ Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
36076
+ // 指定接受图片类型
36077
+ }
36078
+ }).then((f) => {
36074
36079
  if (!f.ok)
36075
36080
  throw (f.type === "cors" || f.status === 403 || f.statusText === "Forbidden") && At.error(Me("该网站有防爬机制,请保存后上传或者截图黏贴")), new Error("Network response was not ok");
36076
36081
  return f.blob();
@@ -41770,14 +41775,12 @@ const g5e = /* @__PURE__ */ yn(o5e, [["render", p5e], ["__scopeId", "data-v-afca
41770
41775
  setup(e, { emit: t }) {
41771
41776
  const n = Pt(!1), r = Pt(!1), o = e, i = t;
41772
41777
  Oi(() => {
41773
- var u, l;
41778
+ var u, l, c;
41774
41779
  if (o.item.type === "selection") {
41775
- const c = (u = o == null ? void 0 : o.tableData) == null ? void 0 : u.every(
41776
- (f) => f.selectionChecked
41777
- ), d = (l = o == null ? void 0 : o.tableData) == null ? void 0 : l.some(
41778
- (f) => f.selectionChecked
41780
+ const d = ((u = o == null ? void 0 : o.tableData) == null ? void 0 : u.length) && ((l = o == null ? void 0 : o.tableData) == null ? void 0 : l.every((h) => h.selectionChecked)), f = (c = o == null ? void 0 : o.tableData) == null ? void 0 : c.some(
41781
+ (h) => h.selectionChecked
41779
41782
  );
41780
- n.value = c, r.value = d && !c;
41783
+ n.value = d, r.value = f && !d;
41781
41784
  }
41782
41785
  });
41783
41786
  function s() {