n20-common-lib 2.10.0-beta.2 → 2.10.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n20-common-lib",
|
|
3
|
-
"version": "2.10.0-beta.
|
|
3
|
+
"version": "2.10.0-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vue-cli-service serve",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"vue-router": "^3.5.2",
|
|
121
121
|
"vue-template-compiler": "^2.6.11",
|
|
122
122
|
"vuex": "^3.6.2",
|
|
123
|
-
"vxe-table": "
|
|
123
|
+
"vxe-table": "3.6.17",
|
|
124
124
|
"webpack-bundle-analyzer": "^3.9.0",
|
|
125
125
|
"xlsx": "0.14.1",
|
|
126
126
|
"xlsx-style": "^0.8.13"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<script>
|
|
132
132
|
import empty from '../Empty'
|
|
133
133
|
import tableSetSize from '../TableSetSize/index.vue'
|
|
134
|
-
import {
|
|
134
|
+
import { $lc } from '@/utils/i18n/index.js'
|
|
135
135
|
const renderer = {
|
|
136
136
|
name: 'renderer',
|
|
137
137
|
props: {
|
|
@@ -333,7 +333,7 @@ export default {
|
|
|
333
333
|
},
|
|
334
334
|
// 计算列宽
|
|
335
335
|
calcColumnWidth(columns) {
|
|
336
|
-
const wrapperEl = document.querySelector('div
|
|
336
|
+
const wrapperEl = document.querySelector('div#app')
|
|
337
337
|
const { width: windowWidth } = wrapperEl.getBoundingClientRect()
|
|
338
338
|
function calc(columns) {
|
|
339
339
|
let columnsWidth = 0
|