瀏覽代碼

chore: update

xiaoxian521 2 年之前
父節點
當前提交
bcbc110883
共有 5 個文件被更改,包括 275 次插入239 次删除
  1. 33 33
      package.json
  2. 239 202
      pnpm-lock.yaml
  3. 2 2
      src/layout/frameView.vue
  4. 0 2
      src/plugins/vxe-table/index.ts
  5. 1 0
      src/router/modules/ppt.ts

+ 33 - 33
package.json

@@ -30,8 +30,8 @@
   "dependencies": {
     "@amap/amap-jsapi-loader": "^1.0.1",
     "@ctrl/tinycolor": "^3.4.1",
-    "@logicflow/core": "^1.1.22",
-    "@logicflow/extension": "^1.1.22",
+    "@logicflow/core": "^1.1.24",
+    "@logicflow/extension": "^1.1.24",
     "@pureadmin/components": "^1.1.0",
     "@pureadmin/descriptions": "^1.1.0",
     "@pureadmin/table": "^1.2.0",
@@ -39,7 +39,7 @@
     "@vueuse/core": "^9.1.0",
     "@vueuse/motion": "^2.0.0-beta.12",
     "@vueuse/shared": "^9.1.0",
-    "@wangeditor/editor": "^5.1.10",
+    "@wangeditor/editor": "^5.1.14",
     "@wangeditor/editor-for-vue": "^5.1.12",
     "animate.css": "^4.1.1",
     "axios": "^0.27.2",
@@ -60,43 +60,43 @@
     "mockjs": "^1.1.0",
     "nprogress": "^0.2.0",
     "path": "^0.12.7",
-    "pinia": "^2.0.16",
-    "qrcode": "^1.5.0",
-    "qs": "^6.10.1",
+    "pinia": "^2.0.18",
+    "qrcode": "^1.5.1",
+    "qs": "^6.11.0",
     "resize-observer-polyfill": "^1.5.1",
-    "responsive-storage": "^2.0.0",
+    "responsive-storage": "^2.1.0",
     "rgb-hex": "^4.0.0",
     "sortablejs": "^1.15.0",
-    "swiper": "^8.1.4",
+    "swiper": "^8.3.2",
     "v-contextmenu": "3.0.0",
     "vue": "^3.2.37",
     "vue-form-create2": "^1.2.8",
     "vue-i18n": "^9.2.2",
-    "vue-json-pretty": "^2.0.2",
+    "vue-json-pretty": "^2.1.1",
     "vue-pdf-embed": "^1.1.4",
-    "vue-router": "^4.1.2",
-    "vue-types": "^4.1.1",
+    "vue-router": "^4.1.3",
+    "vue-types": "^4.2.1",
     "vue-virtual-scroller": "^2.0.0-alpha.1",
-    "vuedraggable": "4.1.0",
-    "vxe-table": "^4.2.3",
-    "xe-utils": "^3.5.4",
-    "xgplayer": "^2.31.6",
+    "vuedraggable": "^4.1.0",
+    "vxe-table": "^4.3.0-beta.3",
+    "xe-utils": "^3.5.6",
+    "xgplayer": "^2.31.7",
     "xlsx": "^0.18.5"
   },
   "devDependencies": {
     "@commitlint/cli": "13.1.0",
     "@commitlint/config-conventional": "13.1.0",
-    "@faker-js/faker": "^6.3.1",
-    "@iconify-icons/carbon": "^1.2.4",
-    "@iconify-icons/ep": "^1.2.4",
-    "@iconify-icons/fa": "^1.2.2",
-    "@iconify-icons/fa-solid": "^1.2.2",
-    "@iconify-icons/fluent": "^1.2.5",
+    "@faker-js/faker": "^7.4.0",
+    "@iconify-icons/carbon": "^1.2.8",
+    "@iconify-icons/ep": "^1.2.7",
+    "@iconify-icons/fa": "^1.2.3",
+    "@iconify-icons/fa-solid": "^1.2.3",
+    "@iconify-icons/fluent": "^1.2.16",
     "@iconify-icons/mdi": "^1.2.8",
-    "@iconify-icons/ri": "^1.2.1",
-    "@iconify-icons/uil": "^1.2.1",
+    "@iconify-icons/ri": "^1.2.3",
+    "@iconify-icons/uil": "^1.2.2",
     "@iconify/vue": "^3.2.1",
-    "@intlify/vite-plugin-vue-i18n": "^6.0.0",
+    "@intlify/vite-plugin-vue-i18n": "^6.0.1",
     "@pureadmin/theme": "^2.4.0",
     "@types/element-resize-detector": "1.1.3",
     "@types/js-cookie": "^3.0.1",
@@ -116,7 +116,7 @@
     "@vue/eslint-config-prettier": "^7.0.0",
     "@vue/eslint-config-typescript": "^10.0.0",
     "@vue/runtime-core": "^3.2.37",
-    "autoprefixer": "^10.4.5",
+    "autoprefixer": "^10.4.8",
     "cloc": "^2.10.0",
     "cross-env": "7.0.3",
     "eslint": "^8.8.0",
@@ -126,14 +126,14 @@
     "husky": "^7.0.4",
     "lint-staged": "11.1.2",
     "picocolors": "^1.0.0",
-    "postcss": "^8.4.6",
-    "postcss-html": "^1.3.0",
-    "postcss-import": "14.0.0",
-    "postcss-scss": "^4.0.3",
+    "postcss": "^8.4.16",
+    "postcss-html": "^1.5.0",
+    "postcss-import": "^14.1.0",
+    "postcss-scss": "^4.0.4",
     "prettier": "^2.5.1",
     "pretty-quick": "3.1.1",
     "rimraf": "3.0.2",
-    "rollup-plugin-visualizer": "^5.6.0",
+    "rollup-plugin-visualizer": "^5.7.1",
     "sass": "^1.53.0",
     "sass-loader": "^13.0.2",
     "stylelint": "^14.3.0",
@@ -142,15 +142,15 @@
     "stylelint-config-recommended": "^6.0.0",
     "stylelint-config-standard": "^24.0.0",
     "stylelint-order": "^5.0.0",
-    "typescript": "^4.6.3",
+    "typescript": "^4.7.4",
     "unocss": "^0.45.6",
-    "unplugin-vue-define-options": "^0.6.1",
+    "unplugin-vue-define-options": "^0.7.3",
     "vite": "^3.0.5",
     "vite-plugin-mock": "^2.9.6",
     "vite-plugin-remove-console": "^1.1.0",
     "vite-svg-loader": "^3.4.0",
     "vue-eslint-parser": "^8.2.0",
-    "vue-tsc": "^0.38.8"
+    "vue-tsc": "^0.40.1"
   },
   "pnpm": {
     "peerDependencyRules": {

文件差異過大導致無法顯示
+ 239 - 202
pnpm-lock.yaml


+ 2 - 2
src/layout/frameView.vue

@@ -8,7 +8,7 @@ defineOptions({
 });
 
 const { t } = useI18n();
-const loading = ref(false);
+const loading = ref(true);
 const currentRoute = useRoute();
 const frameSrc = ref<string>("");
 const frameRef = ref<HTMLElement | null>(null);
@@ -16,6 +16,7 @@ const frameRef = ref<HTMLElement | null>(null);
 if (unref(currentRoute.meta)?.frameSrc) {
   frameSrc.value = unref(currentRoute.meta)?.frameSrc as string;
 }
+unref(currentRoute.meta)?.frameLoading === false && hideLoading();
 
 function hideLoading() {
   loading.value = false;
@@ -39,7 +40,6 @@ function init() {
 }
 
 onMounted(() => {
-  loading.value = true;
   init();
 });
 </script>

+ 0 - 2
src/plugins/vxe-table/index.ts

@@ -11,7 +11,6 @@ import {
   // 核心
   VXETable,
   // 表格功能
-  Header,
   Footer,
   Icon,
   Filter,
@@ -79,7 +78,6 @@ VXETable.setup({
 
 export function useTable(app: App) {
   app
-    .use(Header)
     .use(Footer)
     .use(Icon)
     .use(Filter)

+ 1 - 0
src/router/modules/ppt.ts

@@ -18,6 +18,7 @@ const pptRouter = {
       meta: {
         title: "PPT",
         frameSrc: "https://pipipi-pikachu.github.io/PPTist/",
+        frameLoading: false,
         extraIcon: {
           svg: true,
           name: "team-iconxinpin"

部分文件因文件數量過多而無法顯示