chore: update

This commit is contained in:
xiaoxian521 2022-08-29 17:14:25 +08:00
parent fb2c016ebe
commit 67e8532d37
4 changed files with 523 additions and 495 deletions

View File

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

993
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

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

View File

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