mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-05 07:03:00 +08:00
fix: 一些已知问题修复
This commit is contained in:
parent
ff0bcb5022
commit
674539edd3
38
package.json
38
package.json
@ -33,15 +33,15 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@logicflow/core": "2.0.6",
|
"@logicflow/core": "2.0.10",
|
||||||
"@logicflow/extension": "2.0.10",
|
"@logicflow/extension": "2.0.14",
|
||||||
"@vueuse/core": "^12.0.0",
|
"@vueuse/core": "^12.4.0",
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.7.9",
|
||||||
"clipboard": "^2.0.11",
|
"clipboard": "^2.0.11",
|
||||||
"crypto-js": "4.2.0",
|
"crypto-js": "4.2.0",
|
||||||
"currency.js": "^2.0.4",
|
"currency.js": "^2.0.4",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"echarts": "^5.5.1",
|
"echarts": "^5.6.0",
|
||||||
"html-to-image": "1.11.11",
|
"html-to-image": "1.11.11",
|
||||||
"interactjs": "1.10.27",
|
"interactjs": "1.10.27",
|
||||||
"jsbarcode": "3.11.6",
|
"jsbarcode": "3.11.6",
|
||||||
@ -49,7 +49,7 @@
|
|||||||
"mockjs": "1.1.0",
|
"mockjs": "1.1.0",
|
||||||
"naive-ui": "^2.41.0",
|
"naive-ui": "^2.41.0",
|
||||||
"pinia": "^2.3.0",
|
"pinia": "^2.3.0",
|
||||||
"pinia-plugin-persistedstate": "^4.1.3",
|
"pinia-plugin-persistedstate": "^4.2.0",
|
||||||
"print-js": "^1.6.0",
|
"print-js": "^1.6.0",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-demi": "0.14.10",
|
"vue-demi": "0.14.10",
|
||||||
@ -69,36 +69,36 @@
|
|||||||
"@types/jsbarcode": "3.11.4",
|
"@types/jsbarcode": "3.11.4",
|
||||||
"@types/lodash-es": "4.17.12",
|
"@types/lodash-es": "4.17.12",
|
||||||
"@types/mockjs": "1.0.10",
|
"@types/mockjs": "1.0.10",
|
||||||
"@types/three": "0.169.0",
|
"@types/three": "0.171.0",
|
||||||
"@typescript-eslint/eslint-plugin": "8.18.2",
|
"@typescript-eslint/eslint-plugin": "8.20.0",
|
||||||
"@typescript-eslint/parser": "8.18.2",
|
"@typescript-eslint/parser": "8.20.0",
|
||||||
"@vitejs/plugin-vue": "5.2.1",
|
"@vitejs/plugin-vue": "5.2.1",
|
||||||
"@vitejs/plugin-vue-jsx": "4.1.1",
|
"@vitejs/plugin-vue-jsx": "4.1.1",
|
||||||
"@vitest/ui": "1.5.2",
|
"@vitest/ui": "2.1.8",
|
||||||
"@vue/eslint-config-prettier": "10.1.0",
|
"@vue/eslint-config-prettier": "10.1.0",
|
||||||
"@vue/eslint-config-typescript": "14.2.0",
|
"@vue/eslint-config-typescript": "14.2.0",
|
||||||
"@vue/test-utils": "2.4.6",
|
"@vue/test-utils": "2.4.6",
|
||||||
"autoprefixer": "10.4.20",
|
"autoprefixer": "10.4.20",
|
||||||
"depcheck": "1.4.7",
|
"depcheck": "1.4.7",
|
||||||
"eslint": "9.11.0",
|
"eslint": "9.18.0",
|
||||||
"eslint-config-prettier": "9.1.0",
|
"eslint-config-prettier": "10.0.1",
|
||||||
"eslint-plugin-prettier": "5.2.1",
|
"eslint-plugin-prettier": "5.2.2",
|
||||||
"eslint-plugin-vue": "9.32.0",
|
"eslint-plugin-vue": "9.32.0",
|
||||||
"globals": "15.14.0",
|
"globals": "15.14.0",
|
||||||
"happy-dom": "14.12.3",
|
"happy-dom": "16.6.0",
|
||||||
"husky": "8.0.3",
|
"husky": "8.0.3",
|
||||||
"lint-staged": "15.2.2",
|
"lint-staged": "15.3.0",
|
||||||
"postcss": "8.4.49",
|
"postcss": "8.5.1",
|
||||||
"postcss-px-to-viewport-8-with-include": "1.2.2",
|
"postcss-px-to-viewport-8-with-include": "1.2.2",
|
||||||
"prettier": "3.3.2",
|
"prettier": "3.4.2",
|
||||||
"rollup-plugin-gzip": "4.0.1",
|
"rollup-plugin-gzip": "4.0.1",
|
||||||
"sass": "1.83.0",
|
"sass": "1.83.0",
|
||||||
"svg-sprite-loader": "6.0.11",
|
"svg-sprite-loader": "6.0.11",
|
||||||
"typescript": "5.6.3",
|
"typescript": "5.6.3",
|
||||||
"unplugin-auto-import": "0.19.0",
|
"unplugin-auto-import": "19.0.0",
|
||||||
"unplugin-vue-components": "0.28.0",
|
"unplugin-vue-components": "0.28.0",
|
||||||
"vite": "6.0.7",
|
"vite": "6.0.7",
|
||||||
"vite-bundle-analyzer": "0.15.2",
|
"vite-bundle-analyzer": "0.16.0",
|
||||||
"vite-plugin-cdn2": "1.1.0",
|
"vite-plugin-cdn2": "1.1.0",
|
||||||
"vite-plugin-ejs": "1.7.0",
|
"vite-plugin-ejs": "1.7.0",
|
||||||
"vite-plugin-eslint": "1.8.1",
|
"vite-plugin-eslint": "1.8.1",
|
||||||
@ -106,7 +106,7 @@
|
|||||||
"vite-plugin-mock-dev-server": "1.8.3",
|
"vite-plugin-mock-dev-server": "1.8.3",
|
||||||
"vite-plugin-svg-icons": "2.0.1",
|
"vite-plugin-svg-icons": "2.0.1",
|
||||||
"vite-svg-loader": "5.1.0",
|
"vite-svg-loader": "5.1.0",
|
||||||
"vitest": "2.0.5",
|
"vitest": "2.1.8",
|
||||||
"vue-tsc": "2.2.0"
|
"vue-tsc": "2.2.0"
|
||||||
},
|
},
|
||||||
"description": "<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->",
|
"description": "<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->",
|
||||||
|
1742
pnpm-lock.yaml
generated
1742
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -123,7 +123,7 @@ function getStorage<T = unknown>(
|
|||||||
try {
|
try {
|
||||||
const data = storage.getItem(prefixedKey)
|
const data = storage.getItem(prefixedKey)
|
||||||
|
|
||||||
return data === null ? defaultValue ?? null : (JSON.parse(data) as T)
|
return data === null ? (defaultValue ?? null) : (JSON.parse(data) as T)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(
|
console.error(
|
||||||
`[getStorage]: Failed to get stored data for key '${key}'`,
|
`[getStorage]: Failed to get stored data for key '${key}'`,
|
||||||
|
@ -114,7 +114,7 @@ export default defineComponent({
|
|||||||
// 表格数据
|
// 表格数据
|
||||||
const tableDataRef = ref<RowData[]>([])
|
const tableDataRef = ref<RowData[]>([])
|
||||||
// 表格列
|
// 表格列
|
||||||
const baseColumns: DataTableColumns<RowData> = [
|
const baseColumns = ref<DataTableColumns<RowData>>([
|
||||||
{
|
{
|
||||||
type: 'selection',
|
type: 'selection',
|
||||||
},
|
},
|
||||||
@ -159,7 +159,7 @@ export default defineComponent({
|
|||||||
title: 'Remark',
|
title: 'Remark',
|
||||||
key: 'remark',
|
key: 'remark',
|
||||||
},
|
},
|
||||||
]
|
])
|
||||||
// 表格分页数据
|
// 表格分页数据
|
||||||
const itemCountRef = ref(0)
|
const itemCountRef = ref(0)
|
||||||
// 查询条件
|
// 查询条件
|
||||||
@ -452,7 +452,7 @@ export default defineComponent({
|
|||||||
<RTablePro
|
<RTablePro
|
||||||
onRegister={tableProRegister}
|
onRegister={tableProRegister}
|
||||||
data={tableDataRef}
|
data={tableDataRef}
|
||||||
columns={baseColumns}
|
v-model:columns={this.baseColumns}
|
||||||
loading={loadingGetPersonList}
|
loading={loadingGetPersonList}
|
||||||
// 如果需要设置分页功能,则该参数必传
|
// 如果需要设置分页功能,则该参数必传
|
||||||
paginationCount={itemCountRef}
|
paginationCount={itemCountRef}
|
||||||
|
@ -5,7 +5,7 @@ import viteVueJSX from '@vitejs/plugin-vue-jsx'
|
|||||||
import viteVeI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
import viteVeI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
||||||
import viteInspect from 'vite-plugin-inspect'
|
import viteInspect from 'vite-plugin-inspect'
|
||||||
import viteSvgLoader from 'vite-svg-loader'
|
import viteSvgLoader from 'vite-svg-loader'
|
||||||
import { analyzer, adapter } from 'vite-bundle-analyzer'
|
import { analyzer } from 'vite-bundle-analyzer'
|
||||||
import gzipPlugin from 'rollup-plugin-gzip'
|
import gzipPlugin from 'rollup-plugin-gzip'
|
||||||
import { ViteEjsPlugin as viteEjsPlugin } from 'vite-plugin-ejs'
|
import { ViteEjsPlugin as viteEjsPlugin } from 'vite-plugin-ejs'
|
||||||
import viteAutoImport from 'unplugin-auto-import/vite'
|
import viteAutoImport from 'unplugin-auto-import/vite'
|
||||||
@ -33,12 +33,12 @@ function onlyReportOptions(mode: string): PluginOption[] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
adapter(
|
|
||||||
analyzer({
|
analyzer({
|
||||||
analyzerMode: 'server', // 以默认服务器代理打开文件
|
// 以默认服务器代理打开文件
|
||||||
openAnalyzer: true, // 以默认服务器代理打开文件
|
analyzerMode: 'server',
|
||||||
|
// 以默认服务器代理打开文件
|
||||||
|
openAnalyzer: true,
|
||||||
}),
|
}),
|
||||||
),
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user