gds-plus-design-vue 1.0.23 → 1.0.24
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/gd-initial.mjs +14 -13
- package/lib/gd-initial.umd.js +62 -62
- package/lib/{index.8c3514dc.mjs → index.47ab5def.mjs} +7093 -5002
- package/lib/{main.7703d8d0.mjs → main.5994f95a.mjs} +6 -6
- package/lib/style.css +2 -2
- package/locale/en_US.js +10 -1
- package/locale/id_ID.js +11 -1
- package/locale/vi_VN.js +10 -1
- package/locale/zh_CN.js +12 -2
- package/package.json +7 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "vue";
|
|
2
|
-
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as
|
|
2
|
+
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as b, d as A, e as y, f as R } from "./index.47ab5def.mjs";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "GdVerificationCode",
|
|
5
5
|
props: {
|
|
@@ -505,7 +505,7 @@ const G = {
|
|
|
505
505
|
}, 200);
|
|
506
506
|
},
|
|
507
507
|
getloginByWeChatWork(i) {
|
|
508
|
-
|
|
508
|
+
b({ code: i }).then((e) => {
|
|
509
509
|
if (e.success) {
|
|
510
510
|
o.ls.set(ACCESS_TOKEN, e.data.accessToken), this.$store.commit("SET_TOKEN", e.data.accessToken), this.isInitialize = e.data.isInitialize, this.pwdExpiration = e.data.pwdExpiration, this.wxUserId = e.data.wxUserId, this.setDate = new Date(this.pwdExpiration), this.currentTime = new Date(e.timestamp);
|
|
511
511
|
let t = 24 * 60 * 60 * 1e3, s = this.setDate - this.currentTime + t, r = parseInt(s / (1e3 * 60 * 60 * 24));
|
|
@@ -562,7 +562,7 @@ const G = {
|
|
|
562
562
|
password: this.ruleForm.password,
|
|
563
563
|
wxCorpId: this.wxUserId
|
|
564
564
|
};
|
|
565
|
-
i && (this.confirmLoading = !0,
|
|
565
|
+
i && (this.confirmLoading = !0, A(e).then((t) => {
|
|
566
566
|
t.success ? (t.data.code == -1 ? this.$message.error(t.data.msg) : t.data.code == 1 ? this.$message.success(t.data.msg) : this.$message.success(t.data.msg), this.handleCancel()) : (this.$message.error(this.$i18nt("gd.https.operateFail") + t.message), this.$refs.wx_qrcode.innerHTML = "");
|
|
567
567
|
}));
|
|
568
568
|
});
|
|
@@ -600,8 +600,8 @@ const M = {
|
|
|
600
600
|
customActiveKey: "paw",
|
|
601
601
|
accountLoginErrMsg: "",
|
|
602
602
|
ruleForm: {
|
|
603
|
-
account: "
|
|
604
|
-
password: "
|
|
603
|
+
account: "",
|
|
604
|
+
password: "",
|
|
605
605
|
checked: !1
|
|
606
606
|
},
|
|
607
607
|
enterpriseNum: 1,
|
|
@@ -892,7 +892,7 @@ var B = function() {
|
|
|
892
892
|
O,
|
|
893
893
|
!1,
|
|
894
894
|
null,
|
|
895
|
-
"
|
|
895
|
+
"10b2afe1",
|
|
896
896
|
null,
|
|
897
897
|
null
|
|
898
898
|
);
|