fix : apiKey时区问题更改

This commit is contained in:
likexuan
2022-06-09 14:22:45 +08:00
parent 07a15926fe
commit e6161147ce
2 changed files with 10 additions and 10 deletions

View File

@@ -102,6 +102,7 @@ export default {
this.$refs.apiKeyBoxForm.validate((valid) => {
if (valid) {
if (this.apiKeyBox.name) {
this.apiKeyBox.expireAt = this.timezoneToUtcTimeStr(this.apiKeyBox.expireAt, 'YYYY-MM-DD HH:mm:ss')
this.$post('sys/apiKey/self', { ...this.apiKeyBox }).then(res => {
this.prevent_opt.save = false
if (res.code === 200) {