升级依赖

This commit is contained in:
2025-01-03 09:13:19 +08:00
parent 0ad404d3e8
commit 6111147671
6 changed files with 61 additions and 49 deletions

View File

@@ -12,12 +12,12 @@
"@arco-design/web-vue": "^2.56.3", "@arco-design/web-vue": "^2.56.3",
"@tanstack/vue-query": "^5.62.9", "@tanstack/vue-query": "^5.62.9",
"@tinymce/tinymce-vue": "^6.1.0", "@tinymce/tinymce-vue": "^6.1.0",
"@vueuse/core": "^12.2.0", "@vueuse/core": "^12.3.0",
"axios": "^1.7.9", "axios": "^1.7.9",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"file2md5": "^1.3.0", "file2md5": "^1.3.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mammoth": "^1.8.0", "mammoth": "^1.9.0",
"mitt": "^3.0.1", "mitt": "^3.0.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.3.0", "pinia": "^2.3.0",
@@ -28,13 +28,13 @@
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-color-kit": "^1.0.6", "vue-color-kit": "^1.0.6",
"vue-data-ui": "^2.4.58", "vue-data-ui": "^2.4.63",
"vue-router": "^4.5.0", "vue-router": "^4.5.0",
"vuedraggable": "^2.24.3" "vuedraggable": "^2.24.3"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.2", "@types/node": "^22.10.4",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@types/qs": "^6.9.17", "@types/qs": "^6.9.17",
"@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue": "^5.2.1",
@@ -51,7 +51,7 @@
"rollup-plugin-visualizer": "^5.13.1", "rollup-plugin-visualizer": "^5.13.1",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"typescript": "^5.7.2", "typescript": "^5.7.2",
"vite": "^6.0.6" "vite": "^6.0.7"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {
@@ -1732,9 +1732,9 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.10.2", "version": "22.10.4",
"resolved": "https://registry.npmmirror.com/@types/node/-/node-22.10.2.tgz", "resolved": "https://registry.npmmirror.com/@types/node/-/node-22.10.4.tgz",
"integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "integrity": "sha512-99l6wv4HEzBQhvaU/UGoeBoCK61SCROQaCCGyQSgX2tEQ3rKkNZ2S7CEWnS/4s1LV+8ODdK21UeyR1fHP2mXug==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1951,14 +1951,14 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@vueuse/core": { "node_modules/@vueuse/core": {
"version": "12.2.0", "version": "12.3.0",
"resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-12.2.0.tgz", "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-12.3.0.tgz",
"integrity": "sha512-jksyNu+5EGwggNkRWd6xX+8qBkYbmrwdFQMgCABsz+wq8bKF6w3soPFLB8vocFp3wFIzn0OYkSPM9JP+AFKwsg==", "integrity": "sha512-cnV8QDKZrsyKC7tWjPbeEUz2cD9sa9faxF2YkR8QqNwfofgbOhmfIgvSYmkp+ttSvfOw4E6hLcQx15mRPr0yBA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/web-bluetooth": "^0.0.20", "@types/web-bluetooth": "^0.0.20",
"@vueuse/metadata": "12.2.0", "@vueuse/metadata": "12.3.0",
"@vueuse/shared": "12.2.0", "@vueuse/shared": "12.3.0",
"vue": "^3.5.13" "vue": "^3.5.13"
}, },
"funding": { "funding": {
@@ -1966,18 +1966,18 @@
} }
}, },
"node_modules/@vueuse/metadata": { "node_modules/@vueuse/metadata": {
"version": "12.2.0", "version": "12.3.0",
"resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-12.2.0.tgz", "resolved": "https://registry.npmmirror.com/@vueuse/metadata/-/metadata-12.3.0.tgz",
"integrity": "sha512-x6zynZtTh1l52m0y8d/EgzpshnMjg8cNZ2KWoncJ62Z5qPSGoc4FUunmMVrrRM/I/5542rTEY89CGftngZvrkQ==", "integrity": "sha512-M/iQHHjMffOv2npsw2ihlUx1CTiBwPEgb7DzByLq7zpg1+Ke8r7s9p5ybUWc5OIeGewtpY4Xy0R2cKqFqM8hFg==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"url": "https://github.com/sponsors/antfu" "url": "https://github.com/sponsors/antfu"
} }
}, },
"node_modules/@vueuse/shared": { "node_modules/@vueuse/shared": {
"version": "12.2.0", "version": "12.3.0",
"resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-12.2.0.tgz", "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-12.3.0.tgz",
"integrity": "sha512-SRr4AZwv/giS+EmyA1ZIzn3/iALjjnWAGaBNmoDTMEob9JwQaevAocuaMDnPAvU7Z35Y5g3CFRusCWgp1gVJ3Q==", "integrity": "sha512-X3YD35GUeW0d5Gajcwv9jdLAJTV2Jdb/Ll6Ii2JIYcKLYZqv5wxyLeKtiQkqWmHg3v0J0ZWjDUMVOw2E7RCXfA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"vue": "^3.5.13" "vue": "^3.5.13"
@@ -2825,6 +2825,7 @@
"version": "0.1.12", "version": "0.1.12",
"resolved": "https://registry.npmmirror.com/duck/-/duck-0.1.12.tgz", "resolved": "https://registry.npmmirror.com/duck/-/duck-0.1.12.tgz",
"integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==", "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==",
"license": "BSD",
"dependencies": { "dependencies": {
"underscore": "^1.13.1" "underscore": "^1.13.1"
} }
@@ -4182,9 +4183,10 @@
"integrity": "sha512-TmYdmu/pebrdTIBDK/FDx9Bmfzs9x0sZG6QIJuMDTqEPfeciLcN13ij+cOd0i9vwJfBtbG9UQ+C7MkXgYxrIJg==" "integrity": "sha512-TmYdmu/pebrdTIBDK/FDx9Bmfzs9x0sZG6QIJuMDTqEPfeciLcN13ij+cOd0i9vwJfBtbG9UQ+C7MkXgYxrIJg=="
}, },
"node_modules/lop": { "node_modules/lop": {
"version": "0.4.1", "version": "0.4.2",
"resolved": "https://registry.npmmirror.com/lop/-/lop-0.4.1.tgz", "resolved": "https://registry.npmmirror.com/lop/-/lop-0.4.2.tgz",
"integrity": "sha512-9xyho9why2A2tzm5aIcMWKvzqKsnxrf9B5I+8O30olh6lQU8PH978LqZoI4++37RBgS1Em5i54v1TFs/3wnmXQ==", "integrity": "sha512-RefILVDQ4DKoRZsJ4Pj22TxE3omDO47yFpkIBoDKzkqPRISs5U1cnAdg/5583YPkWPaLIYHOKRMQSvjFsO26cw==",
"license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"duck": "^0.1.12", "duck": "^0.1.12",
"option": "~0.2.1", "option": "~0.2.1",
@@ -4235,9 +4237,9 @@
} }
}, },
"node_modules/mammoth": { "node_modules/mammoth": {
"version": "1.8.0", "version": "1.9.0",
"resolved": "https://registry.npmmirror.com/mammoth/-/mammoth-1.8.0.tgz", "resolved": "https://registry.npmmirror.com/mammoth/-/mammoth-1.9.0.tgz",
"integrity": "sha512-pJNfxSk9IEGVpau+tsZFz22ofjUsl2mnA5eT8PjPs2n0BP+rhVte4Nez6FdgEuxv3IGI3afiV46ImKqTGDVlbA==", "integrity": "sha512-F+0NxzankQV9XSUAuVKvkdQK0GbtGGuqVnND9aVf9VSeUA82LQa29GjLqYU6Eez8LHqSJG3eGiDW3224OKdpZg==",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"@xmldom/xmldom": "^0.8.6", "@xmldom/xmldom": "^0.8.6",
@@ -4246,7 +4248,7 @@
"bluebird": "~3.4.0", "bluebird": "~3.4.0",
"dingbat-to-unicode": "^1.0.1", "dingbat-to-unicode": "^1.0.1",
"jszip": "^3.7.1", "jszip": "^3.7.1",
"lop": "^0.4.1", "lop": "^0.4.2",
"path-is-absolute": "^1.0.0", "path-is-absolute": "^1.0.0",
"underscore": "^1.13.1", "underscore": "^1.13.1",
"xmlbuilder": "^10.0.0" "xmlbuilder": "^10.0.0"
@@ -4533,7 +4535,8 @@
"node_modules/option": { "node_modules/option": {
"version": "0.2.4", "version": "0.2.4",
"resolved": "https://registry.npmmirror.com/option/-/option-0.2.4.tgz", "resolved": "https://registry.npmmirror.com/option/-/option-0.2.4.tgz",
"integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==" "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==",
"license": "BSD-2-Clause"
}, },
"node_modules/optionator": { "node_modules/optionator": {
"version": "0.9.4", "version": "0.9.4",
@@ -5723,9 +5726,10 @@
} }
}, },
"node_modules/underscore": { "node_modules/underscore": {
"version": "1.13.6", "version": "1.13.7",
"resolved": "https://registry.npmmirror.com/underscore/-/underscore-1.13.6.tgz", "resolved": "https://registry.npmmirror.com/underscore/-/underscore-1.13.7.tgz",
"integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==",
"license": "MIT"
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.20.0", "version": "6.20.0",
@@ -5780,9 +5784,9 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "6.0.6", "version": "6.0.7",
"resolved": "https://registry.npmmirror.com/vite/-/vite-6.0.6.tgz", "resolved": "https://registry.npmmirror.com/vite/-/vite-6.0.7.tgz",
"integrity": "sha512-NSjmUuckPmDU18bHz7QZ+bTYhRR0iA72cs2QAxCqDpafJ0S6qetco0LB3WW2OxlMHS0JmAv+yZ/R3uPmMyGTjQ==", "integrity": "sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -5890,9 +5894,9 @@
} }
}, },
"node_modules/vue-data-ui": { "node_modules/vue-data-ui": {
"version": "2.4.58", "version": "2.4.63",
"resolved": "https://registry.npmmirror.com/vue-data-ui/-/vue-data-ui-2.4.58.tgz", "resolved": "https://registry.npmmirror.com/vue-data-ui/-/vue-data-ui-2.4.63.tgz",
"integrity": "sha512-D3GXumRbllzqCqfJtN7DlZs04utnfL585jkHFmv0nLd8fcRzYRQ7k9D+H/lsdOsNGUWemqmuPmZuJrgXFVAUGQ==", "integrity": "sha512-34G0fl18nisjB/RdVv6+JeoIXOMDp6JJ5ihNPPSBzZM8mfDUzNTSg1EAP53VwS6l5dQiXmCEZ0VhrBJYdmFCvQ==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/vue-eslint-parser": { "node_modules/vue-eslint-parser": {

View File

@@ -15,12 +15,12 @@
"@arco-design/web-vue": "^2.56.3", "@arco-design/web-vue": "^2.56.3",
"@tanstack/vue-query": "^5.62.9", "@tanstack/vue-query": "^5.62.9",
"@tinymce/tinymce-vue": "^6.1.0", "@tinymce/tinymce-vue": "^6.1.0",
"@vueuse/core": "^12.2.0", "@vueuse/core": "^12.3.0",
"axios": "^1.7.9", "axios": "^1.7.9",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"file2md5": "^1.3.0", "file2md5": "^1.3.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"mammoth": "^1.8.0", "mammoth": "^1.9.0",
"mitt": "^3.0.1", "mitt": "^3.0.1",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.3.0", "pinia": "^2.3.0",
@@ -31,13 +31,13 @@
"vue": "^3.5.13", "vue": "^3.5.13",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-color-kit": "^1.0.6", "vue-color-kit": "^1.0.6",
"vue-data-ui": "^2.4.58", "vue-data-ui": "^2.4.63",
"vue-router": "^4.5.0", "vue-router": "^4.5.0",
"vuedraggable": "^2.24.3" "vuedraggable": "^2.24.3"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
"@types/node": "^22.10.2", "@types/node": "^22.10.4",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@types/qs": "^6.9.17", "@types/qs": "^6.9.17",
"@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue": "^5.2.1",
@@ -54,6 +54,6 @@
"rollup-plugin-visualizer": "^5.13.1", "rollup-plugin-visualizer": "^5.13.1",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"typescript": "^5.7.2", "typescript": "^5.7.2",
"vite": "^6.0.6" "vite": "^6.0.7"
} }
} }

View File

@@ -2,8 +2,6 @@ import { loadDict } from "@cps/ma-form/js/networkRequest"
/** /**
* columnService 列服务处理类 * columnService 列服务处理类
* 首先感谢 @NEKGod 提交的PR此功能原本写在了 Ma-Crud 组件,我特意摘出来,封装成类通过引用来调用
* @author NEKGod, X.Mo <root@imoi.cn>
*/ */
const objectService = function (item) { const objectService = function (item) {

View File

@@ -0,0 +1,12 @@
/**
* @description: js工具类
*/
/**
* 该函数传入一个对象,判断其是否为空
* @param {object} 对象
* @returns {boolean} 是否为空
*/
export function isBlankObj(data: object): boolean {
return Object.keys(data).length > 0
}

View File

@@ -18,8 +18,8 @@
</a> </a>
</a-card> </a-card>
<a-card type="rounded-sm text-center" class="w-full" :body-style="{ padding: 0 }" :bordered="false"> <a-card type="rounded-sm text-center" class="w-full" :body-style="{ padding: 0 }" :bordered="false">
<a href="https://doc.mineadmin.com/guide/" target="_blank"> <a href="https://doc.mineadmin.com/" target="_blank">
<a-button type="outline" class="w-full">感谢:MineAdmin</a-button> <a-button type="outline" class="w-full">感谢MineAdmin</a-button>
</a> </a>
</a-card> </a-card>
<div class="mt-2">管理平台版本</div> <div class="mt-2">管理平台版本</div>

View File

@@ -18,7 +18,8 @@
<script setup lang="ts"> <script setup lang="ts">
import { PropType } from "vue" import { PropType } from "vue"
import { useRouter } from "vue-router" import { useRouter } from "vue-router"
import type { IPageHeaderProps } from "./types" import { type IPageHeaderProps } from "./types"
import { isBlankObj } from "@/utils/extensions/JsTools"
// 组件属性 // 组件属性
const props = defineProps({ const props = defineProps({
data: { data: {
@@ -26,9 +27,6 @@ const props = defineProps({
required: true required: true
} }
}) })
const isBlankObj = (data: IPageHeaderProps) => {
return Object.keys(data).length > 0
}
const router = useRouter() const router = useRouter()
// 返回上个页面 // 返回上个页面
const handleBackClick = () => { const handleBackClick = () => {