diff --git a/examples/sites/demos/pc/app/grid/import-export/import-excel-composition-api.vue b/examples/sites/demos/pc/app/grid/import-export/import-excel-composition-api.vue index 0d5fa22060..6302ba71ce 100644 --- a/examples/sites/demos/pc/app/grid/import-export/import-excel-composition-api.vue +++ b/examples/sites/demos/pc/app/grid/import-export/import-excel-composition-api.vue @@ -1,6 +1,6 @@ diff --git a/examples/sites/demos/pc/app/grid/import-export/import-excel.vue b/examples/sites/demos/pc/app/grid/import-export/import-excel.vue index f3d24ae138..b849c69714 100644 --- a/examples/sites/demos/pc/app/grid/import-export/import-excel.vue +++ b/examples/sites/demos/pc/app/grid/import-export/import-excel.vue @@ -1,6 +1,6 @@ diff --git a/examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js b/examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js index fefd229979..3bc3efb57a 100644 --- a/examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js +++ b/examples/sites/demos/pc/app/grid/webdoc/grid-import-export.js @@ -20,6 +20,7 @@ export default {

本示例使用的xlsx版本为0.18.2,导入的excel表格,表头字段需与表格field字段保持一致。

提示: xlsx 是一个非常强大的前端 EXCEL 文件操作库,支持表格带格式导入导出,可兼容 IE9+ 版本的浏览器。

详情参考:https://github.com/SheetJS/sheetjs

+

注意:如需体验demo,需要将demo中注释部分代码取消注释,切自行安装相关依赖。

`, 'en-US': 'For details, see the following example.' diff --git a/examples/sites/package.json b/examples/sites/package.json index 04c7f47603..5153b2b1a8 100644 --- a/examples/sites/package.json +++ b/examples/sites/package.json @@ -23,11 +23,11 @@ "dependencies": { "@opentiny/vue": "workspace:~", "@opentiny/vue-common": "workspace:~", - "@opentiny/vue-hooks": "workspace:~", "@opentiny/vue-design-aurora": "workspace:~", "@opentiny/vue-design-saas": "workspace:~", "@opentiny/vue-design-smb": "workspace:~", "@opentiny/vue-directive": "workspace:~", + "@opentiny/vue-hooks": "workspace:~", "@opentiny/vue-icon": "workspace:~", "@opentiny/vue-icon-saas": "workspace:~", "@opentiny/vue-repl": "^1.1.2", @@ -46,8 +46,7 @@ "tailwindcss": "^3.2.4", "vue": "^3.4.31", "vue-i18n": "^9.1.10", - "vue-router": "4.1.5", - "xlsx": "^0.18.5" + "vue-router": "4.1.5" }, "devDependencies": { "@opentiny-internal/unplugin-virtual-template": "workspace:~",