@witlink/usercenter 1.2.43 → 1.2.44
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/usercenter.es.js +3 -3
- package/dist/usercenter.umd.js +1 -1
- package/package.json +1 -1
- package/version.md +3 -1
package/dist/usercenter.es.js
CHANGED
|
@@ -7969,10 +7969,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
7969
7969
|
url: pram.value == "1" ? "/api/sys/userinfo/update-pwd" : pram.value == "2" ? "/api/sys/userinfo/update-mobile" : pram.value == "3" ? "/api/sys/userinfo/update-email" : "/api/sys/userinfo/update-code",
|
|
7970
7970
|
method: "post",
|
|
7971
7971
|
params: data.value
|
|
7972
|
-
}).then((
|
|
7972
|
+
}).then((res) => {
|
|
7973
7973
|
loading.value = false;
|
|
7974
|
-
if (
|
|
7975
|
-
emit("ok",
|
|
7974
|
+
if (res.code == 0) {
|
|
7975
|
+
emit("ok", res);
|
|
7976
7976
|
visible.value = false;
|
|
7977
7977
|
Object.assign(form, {
|
|
7978
7978
|
oldPwd: "",
|