diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue index 40368ae..dbf1af7 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -420,7 +420,14 @@ export default { } } } - +/deep/ pre, code, kbd, samp{ + font-family: 'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif; + word-wrap: break-word; + white-space: pre-wrap; +} +/deep/ pre{ + white-space: pre-wrap; +} /deep/ .cell { font-size: 12px; } diff --git a/src/pages/system/list/staff.vue b/src/pages/system/list/staff.vue index f95cec4..59c35ee 100644 --- a/src/pages/system/list/staff.vue +++ b/src/pages/system/list/staff.vue @@ -68,15 +68,18 @@ - + + + + + + @@ -471,10 +474,15 @@ export default { } }, roleRemove(value) { // 处理移除角色 - let index = this.teacherForm.roleAndDeptList.findIndex(i => i.roleName === value); - if (index !== -1) { - this.teacherForm.roleAndDeptList.splice(index, 1); + let list = []; + for(var i=0;i {