提交 37320160 作者: Vben

chore: update deps

上级 9cf67361
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
"@vueuse/core": "^4.4.1", "@vueuse/core": "^4.4.1",
"@zxcvbn-ts/core": "^0.3.0", "@zxcvbn-ts/core": "^0.3.0",
"ant-design-vue": "2.0.1", "ant-design-vue": "2.0.1",
"apexcharts": "^3.25.0", "apexcharts": "^3.26.0",
"axios": "^0.21.1", "axios": "^0.21.1",
"crypto-js": "^4.0.0", "crypto-js": "^4.0.0",
"echarts": "^5.0.2", "echarts": "^5.0.2",
...@@ -73,8 +73,8 @@ ...@@ -73,8 +73,8 @@
"@types/rollup-plugin-visualizer": "^2.6.0", "@types/rollup-plugin-visualizer": "^2.6.0",
"@types/sortablejs": "^1.10.6", "@types/sortablejs": "^1.10.6",
"@types/yargs": "^16.0.0", "@types/yargs": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.17.0", "@typescript-eslint/parser": "^4.18.0",
"@vitejs/plugin-legacy": "^1.3.1", "@vitejs/plugin-legacy": "^1.3.1",
"@vitejs/plugin-vue": "^1.1.5", "@vitejs/plugin-vue": "^1.1.5",
"@vitejs/plugin-vue-jsx": "^1.1.2", "@vitejs/plugin-vue-jsx": "^1.1.2",
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
"eslint-config-prettier": "^8.1.0", "eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1", "eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.7.0", "eslint-plugin-vue": "^7.7.0",
"esno": "^0.4.6", "esno": "^0.5.0",
"fs-extra": "^9.1.0", "fs-extra": "^9.1.0",
"http-server": "^0.12.3", "http-server": "^0.12.3",
"husky": "^5.1.3", "husky": "^5.1.3",
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
"stylelint-order": "^4.1.0", "stylelint-order": "^4.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"typescript": "4.2.3", "typescript": "4.2.3",
"vite": "^2.0.5", "vite": "^2.1.0",
"vite-plugin-compression": "^0.2.3", "vite-plugin-compression": "^0.2.3",
"vite-plugin-html": "^2.0.3", "vite-plugin-html": "^2.0.3",
"vite-plugin-imagemin": "^0.2.9", "vite-plugin-imagemin": "^0.2.9",
...@@ -116,16 +116,15 @@ ...@@ -116,16 +116,15 @@
"vite-plugin-purge-icons": "^0.7.0", "vite-plugin-purge-icons": "^0.7.0",
"vite-plugin-pwa": "^0.5.6", "vite-plugin-pwa": "^0.5.6",
"vite-plugin-style-import": "^0.8.1", "vite-plugin-style-import": "^0.8.1",
"vite-plugin-svg-icons": "^0.3.4", "vite-plugin-svg-icons": "^0.3.5",
"vite-plugin-theme": "^0.5.0", "vite-plugin-theme": "^0.5.0",
"vite-plugin-windicss": "0.8.2", "vite-plugin-windicss": "0.8.3",
"vue-eslint-parser": "^7.6.0", "vue-eslint-parser": "^7.6.0",
"yargs": "^16.2.0" "yargs": "^16.2.0"
}, },
"resolutions": { "resolutions": {
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it", "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it",
"bin-wrapper": "npm:bin-wrapper-china", "bin-wrapper": "npm:bin-wrapper-china",
"esbuild": "0.8.57",
"rollup": "2.41.2" "rollup": "2.41.2"
}, },
"repository": { "repository": {
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
export default defineComponent({ export default defineComponent({
name: 'ApiSelect', name: 'ApiSelect',
inheritAttrs: false,
components: { components: {
Select, Select,
LoadingOutlined, LoadingOutlined,
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
function getTime() { function getTime() {
const { value } = props; const { value } = props;
let time: number = 0; let time = 0;
if (isNumber(value)) { if (isNumber(value)) {
const timestamp = value.toString().length > 10 ? value : value * 1000; const timestamp = value.toString().length > 10 ? value : value * 1000;
time = new Date(timestamp).getTime(); time = new Date(timestamp).getTime();
......
import '/@/design/index.less'; import '/@/design/index.less';
import '@virtual/windi.css'; import '@virtual/windi.css';
// Do not introduce on-demand in local development? // Do not introduce` on-demand in local development?
// In the local development for on-demand introduction, the number of browser requests will increase by about 20%. // In the local development for on-demand introduction, the number of browser requests will increase by about 20%.
// Which may slow down the browser refresh. // Which may slow down the browser refresh.
// Therefore, all are introduced in local development, and only introduced on demand in the production environment // Therefore, all are introduced in local development, and only introduced on demand in the production environment
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论