feat: 标签页可配置禁止拖拽 (#454)

* feat: dump Tdesign version

* feat: 标签页可配置禁止拖拽(#430)
This commit is contained in:
悠静萝莉 2023-03-28 10:27:55 +08:00 committed by GitHub
parent 2d1c222e6b
commit c21994f5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 15 deletions

View File

@ -20,19 +20,19 @@
}, },
"dependencies": { "dependencies": {
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"axios": "^1.2.6", "axios": "^1.3.4",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"echarts": "5.1.2", "echarts": "5.4.2",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.0.28", "pinia": "^2.0.33",
"pinia-plugin-persistedstate": "^3.0.2", "pinia-plugin-persistedstate": "^3.1.0",
"qrcode.vue": "^3.3.3", "qrcode.vue": "^3.3.4",
"qs": "^6.11.0", "qs": "^6.11.1",
"tdesign-icons-vue-next": "^0.1.7", "tdesign-icons-vue-next": "^0.1.8",
"tdesign-vue-next": "^1.0.8", "tdesign-vue-next": "^1.2.2",
"tvision-color": "^1.5.0", "tvision-color": "^1.5.0",
"vue": "^3.2.45", "vue": "^3.2.47",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-router": "~4.1.6" "vue-router": "~4.1.6"
}, },
@ -42,12 +42,12 @@
"@types/echarts": "^4.9.16", "@types/echarts": "^4.9.16",
"@types/lodash": "^4.14.191", "@types/lodash": "^4.14.191",
"@types/qs": "^6.9.7", "@types/qs": "^6.9.7",
"@types/ws": "^8.5.3", "@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.47.1", "@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1", "@typescript-eslint/parser": "^5.47.1",
"@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^1.1.7", "@vitejs/plugin-vue-jsx": "^1.3.10",
"@vue/compiler-sfc": "^3.2.45", "@vue/compiler-sfc": "^3.2.47",
"@vue/eslint-config-typescript": "^11.0.2", "@vue/eslint-config-typescript": "^11.0.2",
"commitizen": "^4.2.4", "commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
@ -69,11 +69,11 @@
"stylelint-config-prettier": "~9.0.4", "stylelint-config-prettier": "~9.0.4",
"stylelint-less": "1.0.6", "stylelint-less": "1.0.6",
"stylelint-order": "~6.0.1", "stylelint-order": "~6.0.1",
"typescript": "~4.9.4", "typescript": "~4.9.5",
"vite": "^3.0.3", "vite": "^3.2.5",
"vite-plugin-mock": "^2.9.6", "vite-plugin-mock": "^2.9.6",
"vite-svg-loader": "^4.0.0", "vite-svg-loader": "^4.0.0",
"vue-tsc": "^1.0.19" "vue-tsc": "^1.2.0"
}, },
"config": { "config": {
"commitizen": { "commitizen": {

View File

@ -16,6 +16,7 @@
:key="`${routeItem.path}_${index}`" :key="`${routeItem.path}_${index}`"
:value="routeItem.path" :value="routeItem.path"
:removable="!routeItem.isHome" :removable="!routeItem.isHome"
:draggable="!routeItem.isHome"
> >
<template #label> <template #label>
<t-dropdown <t-dropdown