未验证 提交 bae047e4 编写于 作者: K kyoty 提交者: GitHub

[Improvement][UI] Update the update time after the user information is...

[Improvement][UI] Update the update time after the user information is successfully modified (#5684)

* improve

edit the userinfo success, but the updatetime is not the latest.
上级 f5087886
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</div> </div>
</template> </template>
<script> <script>
import { mapState, mapMutations } from 'vuex' import { mapActions, mapState, mapMutations } from 'vuex'
import mListBoxF from '@/module/components/listBoxF/listBoxF' import mListBoxF from '@/module/components/listBoxF/listBoxF'
import mCreateUser from '@/conf/home/pages/security/pages/users/_source/createUser' import mCreateUser from '@/conf/home/pages/security/pages/users/_source/createUser'
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
props: {}, props: {},
methods: { methods: {
...mapMutations('user', ['setUserInfo']), ...mapMutations('user', ['setUserInfo']),
...mapActions('user', ['getUserInfo']),
/** /**
* edit * edit
*/ */
...@@ -109,7 +110,9 @@ ...@@ -109,7 +110,9 @@
email: param.email, email: param.email,
phone: param.phone phone: param.phone
}) })
this.getUserInfo().finally(() => {
this.createUserDialog = false this.createUserDialog = false
})
}, },
close () { close () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册