t20-common-lib 0.14.0 → 0.14.1
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
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script>
|
|
34
|
-
|
|
34
|
+
// `xlsx` 是 CommonJS 模块,默认导入在某些构建环境下可能为 undefined
|
|
35
|
+
// 使用 `* as` 可兼容不同打包器的导出形态。
|
|
36
|
+
import * as XLSX from 'xlsx'
|
|
35
37
|
import uploadMsg from './Upload/uploadMsg.vue'
|
|
36
38
|
import writeImportErrorExcel from '@/utils/writeImportErrorExcel'
|
|
37
39
|
|