Commit b1d0fe759988385224b61e7cc218551cdb2b1889

Authored by xingyu4j
1 parent 111488e5

style: post button

yudao-ui-admin-vue3/src/views/system/post/index.vue
... ... @@ -69,14 +69,10 @@
69 69 v-if="['create', 'update'].includes(actionType)"
70 70 :loading="actionLoading"
71 71 :title="t('action.save')"
  72 + type="primary"
72 73 @click="submitForm"
73 74 />
74   - <XButton
75   - v-if="['create', 'update'].includes(actionType)"
76   - :loading="actionLoading"
77   - :title="t('dialog.close')"
78   - @click="dialogVisible = false"
79   - />
  75 + <XButton :loading="actionLoading" :title="t('dialog.close')" @click="dialogVisible = false" />
80 76 </template>
81 77 </XModal>
82 78 </template>
... ...