diff --git a/src/components/global-setting/index.vue b/src/components/global-setting/index.vue index 0a3c8658..c397257c 100644 --- a/src/components/global-setting/index.vue +++ b/src/components/global-setting/index.vue @@ -44,7 +44,7 @@ a-drawer.settings-drawer( span.bold {{ ` US/Pacific. ` }} | See more at a-link(icon href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="_blank") Wiki. - a-form-item + a-form-item.save a-button( type="primary" long @@ -52,7 +52,10 @@ a-drawer.settings-drawer( @click="save" ) {{ $t('settings.save') }} template(#extra) - span.fail(v-if="!loginSuccess") {{ $t('settings.saveTip') }} + span.danger-color(v-if="loginStatus === 'fail'") {{ $t('settings.saveTip') }} + span.success-color(v-if="loginStatus === 'success'") + icon-check-circle + | {{ $t('settings.saveSuccess') }}