Explorar o código

fix: 行为统计导出Excel问题

cuiyalong hai 5 meses
pai
achega
b5e7e38d1e

+ 1 - 1
entbase-pc/config/cdn.js

@@ -3,7 +3,7 @@ exports.cdn = {
     // '//unpkg.com/element-ui@2.10.1/lib/theme-chalk/index.css'
   ],
   js: [
-    '//cdn-common.jianyu360.com/cdn/lib/vue/2.6.11/vue.min.js',
+    '//cdn-common.jianyu360.com/cdn/lib/vue/2.7.16/vue.min.js',
     '//cdn-common.jianyu360.com/cdn/lib/vue-router/3.5.4/vue-router.min.js',
     '//cdn-common.jianyu360.com/cdn/lib/vuex/3.4.0/vuex.min.js',
     '//cdn-common.jianyu360.com/cdn/lib/axios/0.19.2/axios.min.js',

+ 1 - 1
entbase-pc/package.json

@@ -19,7 +19,7 @@
     "lodash": "^4.17.21",
     "moment": "^2.29.1",
     "qs": "^6.10.3",
-    "vue": "^2.6.11",
+    "vue": "^2.7.16",
     "vue-router": "^3.2.0",
     "vuex": "^3.4.0"
   },

+ 1 - 1
entbase-pc/src/components/export/excel.vue

@@ -2,7 +2,7 @@
   <a :download="wholeFileName" href="#" @click="exportExcel($event.target)">
     <slot name="download">{{exportText}}</slot>
     <div ref="table" v-show="showTable">
-      <slot></slot>
+      <slot name="default"></slot>
     </div>
   </a>
 </template>

+ 1 - 1
entbase-pc/yarn.lock

@@ -9222,7 +9222,7 @@ vue-template-es2015-compiler@^1.9.0:
   resolved "http://172.20.100.235:14873/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825"
   integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==
 
-vue@^2.6.11:
+vue@^2.7.16:
   version "2.7.16"
   resolved "http://172.20.100.235:14873/vue/-/vue-2.7.16.tgz#98c60de9def99c0e3da8dae59b304ead43b967c9"
   integrity sha512-4gCtFXaAA3zYZdTp5s4Hl2sozuySsgz4jy1EnpBHNfpMa9dK1ZCG7viqBPCwXtmgc8nHqUsAu3G4gtmXkkY3Sw==