提交 1965ff3e authored 作者: junjie's avatar junjie

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

上级 b4e50361
...@@ -5,9 +5,9 @@ ...@@ -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;
......
...@@ -251,13 +251,13 @@ export default { ...@@ -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(() => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论