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 */
$--color-primary: #0a7be0;
$--color-success: #13ce66;
$--color-warning: #ffba00;
$--color-danger: #ff4949;
$--color-success: #67C23A;
$--color-warning: #E6A23C;
$--color-danger: #F56C6C;
// $--color-info: #1E1E1E;
$--button-font-weight: 400;

View File

@ -251,13 +251,13 @@ export default {
this.$refs.menu.setCheckedKeys(this.menuIds)
},
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'),
cancelButtonText: this.$t('commons.cancel'),
type: 'warning'
}).then(() => {
delRole(row.roleId).then(res => {
this.$success(this.$t('commons.modify_success'))
this.$success(this.$t('commons.delete_success'))
this.search()
})
}).catch(() => {