From 69db917e5d7bd7f17c95bc9d661d0eb3d5dfd7ed Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Tue, 14 Dec 2021 18:20:21 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E7=8A=B6=E6=80=81=E5=8A=A0=E8=BD=BD=E6=85=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E5=BC=80=E5=90=AF=E5=AE=9E=E9=AA=8C?= =?UTF-8?q?=E5=8F=B0=E5=90=AF=E5=8A=A8=E7=A6=81=E7=94=A8=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/assessment/list/index.vue | 2 +- src/pages/project/list/index.vue | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/assessment/list/index.vue b/src/pages/assessment/list/index.vue index eea10df..1374cd9 100644 --- a/src/pages/assessment/list/index.vue +++ b/src/pages/assessment/list/index.vue @@ -90,7 +90,7 @@ - From 762b73ad39f6c882056843736455ddb57ed0496a Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Thu, 23 Dec 2021 10:51:21 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=88=90=E7=BB=A9=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E4=B8=80=E6=A0=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/achievement/show/index.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/pages/achievement/show/index.vue b/src/pages/achievement/show/index.vue index a59073a..40368ae 100644 --- a/src/pages/achievement/show/index.vue +++ b/src/pages/achievement/show/index.vue @@ -87,8 +87,8 @@ {{index+1}}. {{item.userAnswer}} -
- {{scope.row.answer}} +
+
@@ -486,4 +486,16 @@ export default { padding-top: 20px; border-top: 1px dashed #ccc; } +pre { + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + word-break:break-all; + overflow:hidden; + font-size: 12px; + font-weight:400; + font-family:'PingFang SC', "Helvetica Neue", Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif +} \ No newline at end of file From ed867825c785ab6c2f2b2410a0d18686999ae840 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Mon, 27 Dec 2021 16:23:38 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E6=88=90=E7=BB=A9=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E5=8F=82=E8=80=83=E7=AD=94=E6=A1=88=E5=AD=97=E4=BD=93=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/achievement/show/index.vue | 9 +++++++- src/pages/system/list/staff.vue | 32 +++++++++++++++++----------- 2 files changed, 28 insertions(+), 13 deletions(-) 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 {