From 31f4cb4c98684b3324399b5468d955919fc8de88 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期四, 16 一月 2025 10:41:03 +0800
Subject: [PATCH] 调整样式,修改流程模板定义

---
 Source/plt-web/plt-web-ui/src/views/system/userInfo/index.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/system/userInfo/index.vue b/Source/plt-web/plt-web-ui/src/views/system/userInfo/index.vue
index f8250e3..c74a424 100644
--- a/Source/plt-web/plt-web-ui/src/views/system/userInfo/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/system/userInfo/index.vue
@@ -19,7 +19,7 @@
 
 <script>
 import option from "@/option/user/info";
-import {getUserInfo, updateInfo, updatePassword} from "@/api/system/user";
+import { updateUser } from "@/api/system/user/api";
 import func from "../../../util/func";
 import {changePassword} from "../../../api/user"
 import userAvatar from "./userAvatar";
@@ -44,7 +44,7 @@
   methods: {
     handleSubmit(form, done) {
       if (this.index === 0) {
-        updateInfo(form).then(res => {
+        updateUser(form).then(res => {
           if (res.data.success) {
             this.$message({
               type: "success",
@@ -58,7 +58,6 @@
           }
           done();
         }, error => {
-          window.console.log(error);
           done();
         })
       } else {
@@ -87,7 +86,6 @@
     handleWitch() {
       if (this.index === 0) {
         this.form = {...this.userInfo};
-        console.log(this.form);
       }
     },
     handleTabClick(tabs) {

--
Gitblit v1.9.3