Browse Source

chore: update

xiaoxian521 2 years ago
parent
commit
67e8532d37
4 changed files with 218 additions and 211 deletions
  1. 9 9
      package.json
  2. 206 198
      pnpm-lock.yaml
  3. 1 1
      src/components/ReQrcode/src/index.tsx
  4. 2 3
      src/views/able/print.vue

+ 9 - 9
package.json

@@ -36,9 +36,9 @@
     "@pureadmin/descriptions": "^1.1.0",
     "@pureadmin/table": "^1.2.0",
     "@pureadmin/utils": "^0.1.1",
-    "@vueuse/core": "^9.1.0",
+    "@vueuse/core": "^9.1.1",
     "@vueuse/motion": "^2.0.0-beta.12",
-    "@vueuse/shared": "^9.1.0",
+    "@vueuse/shared": "^9.1.1",
     "@wangeditor/editor": "^5.1.14",
     "@wangeditor/editor-for-vue": "^5.1.12",
     "animate.css": "^4.1.1",
@@ -50,7 +50,7 @@
     "driver.js": "^0.9.8",
     "echarts": "^5.3.3",
     "el-table-infinite-scroll": "^3.0.1",
-    "element-plus": "^2.2.14",
+    "element-plus": "^2.2.15",
     "element-resize-detector": "^1.2.3",
     "js-cookie": "^3.0.1",
     "jsbarcode": "^3.11.5",
@@ -61,7 +61,7 @@
     "mockjs": "^1.1.0",
     "nprogress": "^0.2.0",
     "path": "^0.12.7",
-    "pinia": "^2.0.19",
+    "pinia": "^2.0.21",
     "qrcode": "^1.5.1",
     "qs": "^6.11.0",
     "resize-observer-polyfill": "^1.5.1",
@@ -79,7 +79,7 @@
     "vue-types": "^4.2.1",
     "vue-virtual-scroller": "^2.0.0-alpha.1",
     "vuedraggable": "^4.1.0",
-    "vxe-table": "^4.3.0-beta.5",
+    "vxe-table": "^4.3.0",
     "xe-utils": "^3.5.6",
     "xgplayer": "^2.31.7",
     "xlsx": "^0.18.5"
@@ -111,8 +111,8 @@
     "@types/sortablejs": "^1.13.0",
     "@typescript-eslint/eslint-plugin": "^5.10.2",
     "@typescript-eslint/parser": "^5.10.2",
-    "@vitejs/plugin-legacy": "^2.0.0",
-    "@vitejs/plugin-vue": "^3.0.1",
+    "@vitejs/plugin-legacy": "^2.0.1",
+    "@vitejs/plugin-vue": "^3.0.3",
     "@vitejs/plugin-vue-jsx": "^2.0.0",
     "@vue/eslint-config-prettier": "^7.0.0",
     "@vue/eslint-config-typescript": "^10.0.0",
@@ -144,14 +144,14 @@
     "stylelint-config-standard": "^24.0.0",
     "stylelint-order": "^5.0.0",
     "typescript": "^4.7.4",
-    "unocss": "^0.45.12",
+    "unocss": "^0.45.13",
     "unplugin-vue-define-options": "^0.7.3",
     "vite": "^3.0.9",
     "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.40.1"
+    "vue-tsc": "^0.40.4"
   },
   "pnpm": {
     "peerDependencyRules": {

File diff suppressed because it is too large
+ 206 - 198
pnpm-lock.yaml


+ 1 - 1
src/components/ReQrcode/src/index.tsx

@@ -78,7 +78,7 @@ export default defineComponent({
         const _width: number = await getOriginWidth(unref(renderText), options);
         options.scale =
           props.width === 0 ? undefined : (props.width / _width) * 4;
-        const canvasRef: HTMLCanvasElement = await toCanvas(
+        const canvasRef: any = await toCanvas(
           unref(wrapRef) as HTMLCanvasElement,
           unref(renderText),
           options

+ 2 - 3
src/views/able/print.vue

@@ -194,11 +194,10 @@ const tableData: User[] = [
       >
         <p class="font-medium pt-1">Element-Plus Table</p>
         <el-table
-          class="el-table"
-          :data="tableData"
           border
-          style="margin: 40px auto; width: 100%"
+          :data="tableData"
           :row-class-name="tableRowClassName"
+          class="el-table w-full mt-40px mr-40px"
         >
           <el-table-column prop="date" label="Date" width="180" />
           <el-table-column prop="name" label="Name" width="180" />

Some files were not shown because too many files changed in this diff