mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 01:17:23 +08:00
chore(deps): update
This commit is contained in:
parent
fe50a3618f
commit
93ad811036
@ -105,9 +105,9 @@
|
|||||||
"autoprefixer": "^10.4.14",
|
"autoprefixer": "^10.4.14",
|
||||||
"cloc": "^2.11.0",
|
"cloc": "^2.11.0",
|
||||||
"cssnano": "^6.0.1",
|
"cssnano": "^6.0.1",
|
||||||
"eslint": "^8.40.0",
|
"eslint": "^8.41.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-vue": "^9.13.0",
|
"eslint-plugin-vue": "^9.14.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"lint-staged": "^13.2.2",
|
"lint-staged": "^13.2.2",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
@ -120,7 +120,7 @@
|
|||||||
"rimraf": "^5.0.1",
|
"rimraf": "^5.0.1",
|
||||||
"rollup-plugin-visualizer": "^5.9.0",
|
"rollup-plugin-visualizer": "^5.9.0",
|
||||||
"sass": "^1.62.1",
|
"sass": "^1.62.1",
|
||||||
"sass-loader": "^13.2.2",
|
"sass-loader": "^13.3.0",
|
||||||
"stylelint": "^15.6.2",
|
"stylelint": "^15.6.2",
|
||||||
"stylelint-config-html": "^1.1.0",
|
"stylelint-config-html": "^1.1.0",
|
||||||
"stylelint-config-recess-order": "^4.0.0",
|
"stylelint-config-recess-order": "^4.0.0",
|
||||||
@ -134,7 +134,7 @@
|
|||||||
"stylelint-scss": "^5.0.0",
|
"stylelint-scss": "^5.0.0",
|
||||||
"svgo": "^3.0.2",
|
"svgo": "^3.0.2",
|
||||||
"tailwindcss": "^3.3.2",
|
"tailwindcss": "^3.3.2",
|
||||||
"terser": "^5.17.4",
|
"terser": "^5.17.5",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"vite": "^4.3.8",
|
"vite": "^4.3.8",
|
||||||
"vite-plugin-cdn-import": "^0.3.5",
|
"vite-plugin-cdn-import": "^0.3.5",
|
||||||
|
8206
pnpm-lock.yaml
generated
8206
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -51,20 +51,21 @@ let startPosX = null;
|
|||||||
let isHover = false;
|
let isHover = false;
|
||||||
let ease = "ease-in";
|
let ease = "ease-in";
|
||||||
|
|
||||||
// eslint-disable-next-line vue/no-setup-props-destructure
|
if (props.classOption["key"] === undefined) {
|
||||||
const { classOption } = props;
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
|
props.classOption["key"] = 0;
|
||||||
if (classOption["key"] === undefined) {
|
|
||||||
classOption["key"] = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const wrap = templateRef<HTMLElement | null>(`wrap${classOption["key"]}`, null);
|
const wrap = templateRef<HTMLElement | null>(
|
||||||
|
`wrap${props.classOption["key"]}`,
|
||||||
|
null
|
||||||
|
);
|
||||||
const slotList = templateRef<HTMLElement | null>(
|
const slotList = templateRef<HTMLElement | null>(
|
||||||
`slotList${classOption["key"]}`,
|
`slotList${props.classOption["key"]}`,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
const realBox = templateRef<HTMLElement | null>(
|
const realBox = templateRef<HTMLElement | null>(
|
||||||
`realBox${classOption["key"]}`,
|
`realBox${props.classOption["key"]}`,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -107,7 +108,7 @@ const defaultOption = computed(() => {
|
|||||||
|
|
||||||
const options = computed(() => {
|
const options = computed(() => {
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
return copyObj({}, unref(defaultOption), classOption);
|
return copyObj({}, unref(defaultOption), props.classOption);
|
||||||
});
|
});
|
||||||
|
|
||||||
const leftSwitchClass = computed(() => {
|
const leftSwitchClass = computed(() => {
|
||||||
@ -495,7 +496,7 @@ defineExpose({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :ref="'wrap' + classOption['key']">
|
<div :ref="'wrap' + props.classOption['key']">
|
||||||
<div
|
<div
|
||||||
:style="leftSwitch"
|
:style="leftSwitch"
|
||||||
v-if="navigation"
|
v-if="navigation"
|
||||||
@ -513,7 +514,7 @@ defineExpose({
|
|||||||
<slot name="right-switch" />
|
<slot name="right-switch" />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
:ref="'realBox' + classOption['key']"
|
:ref="'realBox' + props.classOption['key']"
|
||||||
:style="pos"
|
:style="pos"
|
||||||
@mouseenter="enter"
|
@mouseenter="enter"
|
||||||
@mouseleave="leave"
|
@mouseleave="leave"
|
||||||
@ -522,7 +523,7 @@ defineExpose({
|
|||||||
@touchend="touchEnd"
|
@touchend="touchEnd"
|
||||||
@mousewheel.passive="wheel"
|
@mousewheel.passive="wheel"
|
||||||
>
|
>
|
||||||
<div :ref="'slotList' + classOption['key']" :style="float">
|
<div :ref="'slotList' + props.classOption['key']" :style="float">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
<div v-html="copyHtml" :style="float" />
|
<div v-html="copyHtml" :style="float" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user