feat(frontend):成功、警告、错误等色值修改与element-ui,fit2cloud-ui一致,原先的太亮;角色i18n修复

This commit is contained in:
junjie 2021-05-28 16:31:07 +08:00
parent b4e503612a
commit 1965ff3eab
2 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@
/* theme color */ /* theme color */
$--color-primary: #0a7be0; $--color-primary: #0a7be0;
$--color-success: #13ce66; $--color-success: #67C23A;
$--color-warning: #ffba00; $--color-warning: #E6A23C;
$--color-danger: #ff4949; $--color-danger: #F56C6C;
// $--color-info: #1E1E1E; // $--color-info: #1E1E1E;
$--button-font-weight: 400; $--button-font-weight: 400;

View File

@ -251,13 +251,13 @@ export default {
this.$refs.menu.setCheckedKeys(this.menuIds) this.$refs.menu.setCheckedKeys(this.menuIds)
}, },
handleDelete(row) { handleDelete(row) {
this.$confirm(this.$t('commons.confirm_delete') + ': ' + row.name + '', this.$t('role.tips'), { this.$confirm(this.$t('role.confirm_delete') + ': ' + row.name + '', this.$t('role.tips'), {
confirmButtonText: this.$t('commons.confirm'), confirmButtonText: this.$t('commons.confirm'),
cancelButtonText: this.$t('commons.cancel'), cancelButtonText: this.$t('commons.cancel'),
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
delRole(row.roleId).then(res => { delRole(row.roleId).then(res => {
this.$success(this.$t('commons.modify_success')) this.$success(this.$t('commons.delete_success'))
this.search() this.search()
}) })
}).catch(() => { }).catch(() => {