mg-ocr-invoice 0.1.4 → 0.1.5
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/README.md +2 -0
- package/dist/index.es.js +9 -9
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -3279,7 +3279,7 @@ instance.interceptors.response.use(
|
|
|
3279
3279
|
return a.code !== 200 || ((o = a.data) == null ? void 0 : o.code) !== 200 ? (showToast({
|
|
3280
3280
|
type: "fail",
|
|
3281
3281
|
message: a.data.msg
|
|
3282
|
-
}), Promise.reject(n)) : n.data.data;
|
|
3282
|
+
}), Promise.reject(n.data.data)) : n.data.data;
|
|
3283
3283
|
},
|
|
3284
3284
|
function(n) {
|
|
3285
3285
|
return Promise.reject(n);
|
|
@@ -5055,7 +5055,7 @@ const REPEAT_INTERVAL = 100, REPEAT_DELAY = 600, vRepeatClick = {
|
|
|
5055
5055
|
}
|
|
5056
5056
|
});
|
|
5057
5057
|
var InputNumber = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);
|
|
5058
|
-
const ElInputNumber = withInstall(InputNumber), _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
5058
|
+
const ElInputNumber = withInstall(InputNumber), _withScopeId$2 = (n) => (pushScopeId("data-v-a1d2f8d5"), n = n(), popScopeId(), n), _hoisted_1$3 = { class: "Invoice" }, _hoisted_2$2 = { class: "top" }, _hoisted_3$2 = ["src"], _hoisted_4$2 = { class: "company" }, _hoisted_5$2 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, [
|
|
5059
5059
|
/* @__PURE__ */ createElementVNode("i"),
|
|
5060
5060
|
/* @__PURE__ */ createTextVNode(),
|
|
5061
5061
|
/* @__PURE__ */ createElementVNode("span", null, "公司")
|
|
@@ -5107,8 +5107,8 @@ const ElInputNumber = withInstall(InputNumber), _withScopeId$2 = (n) => (pushSco
|
|
|
5107
5107
|
type: "success",
|
|
5108
5108
|
message: "保存成功"
|
|
5109
5109
|
}), a("saveSuccess"));
|
|
5110
|
-
} catch {
|
|
5111
|
-
showFailToast(
|
|
5110
|
+
} catch (y) {
|
|
5111
|
+
showFailToast(y.msg), a("saveSuccess");
|
|
5112
5112
|
}
|
|
5113
5113
|
h.value = !1;
|
|
5114
5114
|
};
|
|
@@ -5227,12 +5227,12 @@ const ElInputNumber = withInstall(InputNumber), _withScopeId$2 = (n) => (pushSco
|
|
|
5227
5227
|
}, 8, ["show"])
|
|
5228
5228
|
], 64));
|
|
5229
5229
|
}
|
|
5230
|
-
}),
|
|
5230
|
+
}), index_vue_vue_type_style_index_0_scoped_a1d2f8d5_lang = "", _export_sfc = (n, a) => {
|
|
5231
5231
|
const o = n.__vccOpts || n;
|
|
5232
5232
|
for (const [l, p] of a)
|
|
5233
5233
|
o[l] = p;
|
|
5234
5234
|
return o;
|
|
5235
|
-
}, Invoice = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
5235
|
+
}, Invoice = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a1d2f8d5"]]), index$2 = "";
|
|
5236
5236
|
/*!
|
|
5237
5237
|
* Compressor.js v1.2.1
|
|
5238
5238
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -6169,7 +6169,7 @@ const processImage = async (n) => {
|
|
|
6169
6169
|
}, 8, ["show"])
|
|
6170
6170
|
], 64));
|
|
6171
6171
|
}
|
|
6172
|
-
}), index_vue_vue_type_style_index_0_scoped_143066a8_lang = "", InvoiceList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-143066a8"]]), _withScopeId = (n) => (pushScopeId("data-v-
|
|
6172
|
+
}), index_vue_vue_type_style_index_0_scoped_143066a8_lang = "", InvoiceList = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-143066a8"]]), _withScopeId = (n) => (pushScopeId("data-v-c4a3dcd2"), n = n(), popScopeId(), n), _hoisted_1$1 = { class: "PaymentMode" }, _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "title" }, "选择识别方式", -1)), _hoisted_3 = { class: "list" }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "left-text" }, _hoisted_6 = { class: "icon-left" }, _hoisted_7 = { class: "text" }, _hoisted_8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "right-icon" }, [
|
|
6173
6173
|
/* @__PURE__ */ createElementVNode("i", { class: "iconfont icon-xiangyou" })
|
|
6174
6174
|
], -1)), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6175
6175
|
__name: "index",
|
|
@@ -6205,7 +6205,7 @@ const processImage = async (n) => {
|
|
|
6205
6205
|
message: "上传成功"
|
|
6206
6206
|
}), a("uploadSuccess", w.data));
|
|
6207
6207
|
} catch (w) {
|
|
6208
|
-
console.log(w), showFailToast(
|
|
6208
|
+
console.log(w), showFailToast(w.msg);
|
|
6209
6209
|
}
|
|
6210
6210
|
p.value = !1;
|
|
6211
6211
|
};
|
|
@@ -6249,7 +6249,7 @@ const processImage = async (n) => {
|
|
|
6249
6249
|
}, 8, ["show"])
|
|
6250
6250
|
], 64));
|
|
6251
6251
|
}
|
|
6252
|
-
}),
|
|
6252
|
+
}), index_vue_vue_type_style_index_0_scoped_c4a3dcd2_lang = "", PaymentMode = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-c4a3dcd2"]]);
|
|
6253
6253
|
function getUrlParams(n) {
|
|
6254
6254
|
const a = {}, o = n.split("?")[1];
|
|
6255
6255
|
return o && o.split("&").forEach((p) => {
|