{{$t('Save')}}
@@ -58,7 +77,8 @@ export default {
rules: {
password: [{ trigger: 'blur', validator: validatePass }],
email: [{ trigger: 'blur', validator: validateEmail }]
- }
+ },
+ isShowDingTalkAppSecret: false
}
},
methods: {
@@ -74,7 +94,9 @@ export default {
const res = await this.$store.dispatch('user/postInfo', {
password: this.userInfo.password,
email: this.userInfo.email,
- notification_trigger: this.userInfo.setting.notification_trigger
+ notification_trigger: this.userInfo.setting.notification_trigger,
+ ding_talk_app_key: this.userInfo.setting.ding_talk_app_key,
+ ding_talk_app_secret: this.userInfo.setting.ding_talk_app_secret
})
if (!res || res.error) {
this.$message.error(res.error)