- 新增商城基础信息配置界面支持店铺名称、Logo、描述、电话、地址和开关配置 - 实现图片选择和删除功能,支持Logo的上传回显 - 集成表单校验和保存接口调用,提供保存状态反馈 - 优化响应式布局适配不同屏幕尺寸 fix(cms): 防止文章编辑内容的XSS攻击 - 在文章编辑组件中对动态HTML内容添加DOMPurify消毒 - 替换 v-html 渲染为安全消毒后的内容展现 - 确保富文本内容安全,防止跨站脚本漏洞 refactor(system-setting): 优化系统设置基本信息组件逻辑 - 替换ico文件上传组件,改用SelectFile实现图片选择和删除功能 - 简化图标上传流程,移除上传接口调用相关代码 - 统一表单数据处理,增强设置数据解析和回显兼容性 - 调整保存逻辑,支持根据是否存在主键调用新增或更新接口 - 改进watch数据响应逻辑,支持多种数据结构兼容 fix(system-setting): 修正清理设置组件数据重置逻辑 - 统一清理设置组件的 settingKey 值为 clear,避免混淆 - 优化数据监听回调,支持不同数据结构和空数据重置表单 - 确保组件初始化状态正确,避免遗留数据影响展示 fix(store): 修正 chat store 定义方式 - 按 pinia 官方规范简化 store 定义参数 - 修复 store id 错误传递问题,确保正确注册和使用
107 lines
3.1 KiB
JSON
107 lines
3.1 KiB
JSON
{
|
|
"name": "paopao-template",
|
|
"version": "1.10.1",
|
|
"private": true,
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"core-js",
|
|
"es5-ext",
|
|
"vue-demi"
|
|
],
|
|
"patchedDependencies": {
|
|
"ele-admin-pro": "patches/ele-admin-pro.patch"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"postinstall": "bash scripts/fix-ele-admin-pro.sh",
|
|
"dev": "vite",
|
|
"dev:test": "vite --mode test",
|
|
"build": "vite build",
|
|
"build:test": "vite build --mode test",
|
|
"serve": "vite build && vite preview",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix",
|
|
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite/",
|
|
"clean:lib": "rimraf node_modules",
|
|
"build-css": "tailwindcss -o ./dist/tailwind.css --minify"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
"@ant-design/colors": "^6.0.0",
|
|
"@ant-design/icons-vue": "^7.0.1",
|
|
"@antv/g2": "^5.1.22",
|
|
"@bytemd/plugin-gfm": "^1.17.2",
|
|
"@bytemd/plugin-highlight": "^1.17.4",
|
|
"@bytemd/plugin-highlight-ssr": "^1.20.2",
|
|
"@wecom/jssdk": "^1.3.1",
|
|
"ali-oss": "^6.18.0",
|
|
"ant-design-vue": "^4.2.6",
|
|
"axios": "^1.16.0",
|
|
"bytemd": "^1.17.2",
|
|
"countup.js": "^2.3.2",
|
|
"cropperjs": "^1.5.12",
|
|
"crypto-js": "^4.2.0",
|
|
"dayjs": "^1.11.5",
|
|
"docx": "^9.5.0",
|
|
"dompurify": "^3.4.5",
|
|
"echarts": "^6.0.0",
|
|
"echarts-wordcloud": "^2.1.0",
|
|
"ele-admin-pro": "^1.11.1",
|
|
"exceljs": "^4.3.0",
|
|
"file-saver": "^2.0.5",
|
|
"github-markdown-css": "^5.1.0",
|
|
"js-cookie": "^3.0.5",
|
|
"js-md5": "^0.7.3",
|
|
"jsbarcode": "^3.11.5",
|
|
"lodash-es": "^4.17.21",
|
|
"md-editor-v3": "^5.2.3",
|
|
"mitt": "^3.0.1",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.3.1",
|
|
"qrcode": "^1.5.4",
|
|
"socket.io-client": "^4.7.1",
|
|
"sortablejs": "^1.15.0",
|
|
"tinymce": "^6.8.6",
|
|
"vue": "3.5.3",
|
|
"vue-echarts": "^8.0.1",
|
|
"vue-i18n": "9.2.2",
|
|
"vue-router": "^4.1.5",
|
|
"vuedraggable": "^4.1.0",
|
|
"xgplayer": "^2.31.7",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/dompurify": "^3.2.0",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/node": "^22.15.0",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/sortablejs": "^1.13.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
"@typescript-eslint/parser": "^8.59.0",
|
|
"@vitejs/plugin-legacy": "^8.0.1",
|
|
"@vitejs/plugin-vue": "^6.0.6",
|
|
"@vue/compiler-sfc": "^3.5.34",
|
|
"autoprefixer": "^10.4.19",
|
|
"eslint": "^8.23.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-define-config": "^1.7.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.4.0",
|
|
"less": "^4.1.3",
|
|
"playwright": "^1.60.0",
|
|
"postcss": "^8.4.39",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
"tailwindcss": "^3.4.6",
|
|
"terser": "^5.15.0",
|
|
"typescript": "^5.8.3",
|
|
"unplugin-vue-components": "^28.8.0",
|
|
"vite": "^8.0.11",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vue-eslint-parser": "^9.0.3",
|
|
"vue-tsc": "^3.2.8"
|
|
}
|
|
}
|