af-mobile-client-vue3 1.4.33 → 1.4.34

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.
@@ -126,7 +126,8 @@ function closeModal() {
126
126
  async function handleModifyPassword(data: any) {
127
127
  try {
128
128
  const res = await modifyPassword(data)
129
- if (res && res === 'true') {
129
+ const resData = JSON.parse(res)
130
+ if (resData && resData.code === 200) {
130
131
  return {
131
132
  success: true,
132
133
  message: '修改成功',