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