From acfbb7b3d7ba1daa1c602dc3993925038fa76b1f Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Wed, 16 Apr 2025 15:32:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E5=92=8C=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整 script标签添加 async 属性以优化加载性能 - 解决企业用户查询排序报错、添加第二参数 - 添加 gzip压缩以提高页面加载速度 --- package.json | 1 + public/index.html | 10 +- src/assets/icons/svg/qrcode.svg | 1 + src/views/system/tenant/index.vue | 84 +- vue.config.js | 9 + yarn.lock | 15576 ++++++++++++++-------------- 6 files changed, 7754 insertions(+), 7927 deletions(-) create mode 100644 src/assets/icons/svg/qrcode.svg diff --git a/package.json b/package.json index a5af1a73..7f9a3c09 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,7 @@ "@vue/cli-service": "4.4.6", "babel-eslint": "10.1.0", "chalk": "4.1.0", + "compression-webpack-plugin": "2.0.0", "connect": "3.6.6", "eslint": "7.15.0", "eslint-plugin-vue": "7.2.0", diff --git a/public/index.html b/public/index.html index 7594df46..bc6f459e 100644 --- a/public/index.html +++ b/public/index.html @@ -13,14 +13,14 @@ - + - - - + + + - +