yijianjun hai 1 mes
pai
achega
ec543a15fb
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 1 0
      .gitignore
  2. 2 2
      src/views/board.vue

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 node_modules
 .DS_Store
+dist/

+ 2 - 2
src/views/board.vue

@@ -3221,7 +3221,7 @@ export default {
   mounted() {
     this.init();
     // this.getrainfalldataList()
-    particlesJS('particles', this.particlesJson);
+    // particlesJS('particles', this.particlesJson);
   },
   async created() {
     await this.getCompList();
@@ -3444,7 +3444,7 @@ export default {
         params: params,
       }).then(({ data }) => {
         if (data && data.code === 0) {
-          this.rainfalldataList = data.data.list;
+          this.rainfalldataList = data.data.list || [];
           let div = document.getElementById('rainfalldataTable');
           var scrollTop = -1;
           function move() {