Browse Source

[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.
2.0.7-release
kyoty 4 years ago committed by GitHub
parent
commit
bae047e4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue

7
dolphinscheduler-ui/src/js/conf/home/pages/user/pages/account/_source/info.vue

@ -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 @@
props: {}, props: {},
methods: { methods: {
...mapMutations('user', ['setUserInfo']), ...mapMutations('user', ['setUserInfo']),
...mapActions('user', ['getUserInfo']),
/** /**
* edit * edit
*/ */
@ -109,7 +110,9 @@
email: param.email, email: param.email,
phone: param.phone phone: param.phone
}) })
this.createUserDialog = false this.getUserInfo().finally(() => {
this.createUserDialog = false
})
}, },
close () { close () {

Loading…
Cancel
Save