Browse Source

Merge branch 'master' of http://101.36.160.140:21044/csc/csc-szls-vue

linyanfei 3 years ago
parent
commit
e170979a20
1 changed files with 2 additions and 1 deletions
  1. 2 1
      shanXiPlatform/src/views/home/notice/index.vue

+ 2 - 1
shanXiPlatform/src/views/home/notice/index.vue

@@ -205,7 +205,8 @@ export default {
205
       }
205
       }
206
     },
206
     },
207
     removeTAG(str) {
207
     removeTAG(str) {
208
-      return str.replace(/<[^>]+>/g, "")
208
+        str = str.replace(/&nbsp/g, "")
209
+        return str.replace(/<[^>]+>/g, "")
209
     },
210
     },
210
     detailClickFn(id) {
211
     detailClickFn(id) {
211
       //  林加代码开始//
212
       //  林加代码开始//