diff --git a/src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap b/src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap
index 9eca143d4..0f6d0381d 100644
--- a/src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap
+++ b/src/action-sheet/__test__/__snapshots__/demo.test.jsx.snap
@@ -44,296 +44,8 @@ exports[`ActionSheet > ActionSheet alignVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
`;
@@ -365,628 +77,7 @@ exports[`ActionSheet > ActionSheet gridMultipleVue demo works fine 1`] = `
-
-
-
-
-
-
-
+
`;
@@ -1052,1544 +143,9 @@ exports[`ActionSheet > ActionSheet gridVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
`;
@@ -2689,702 +245,10 @@ exports[`ActionSheet > ActionSheet listVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
`;
@@ -3516,702 +380,10 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
@@ -4290,1544 +462,9 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
ActionSheet mobileVue demo works fine 1`] = `
-
-
-
-
-
-
-
+
@@ -6522,202 +538,7 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
-
-
-
-
-
-
-
+
@@ -6783,296 +604,8 @@ exports[`ActionSheet > ActionSheet mobileVue demo works fine 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -7107,202 +640,7 @@ exports[`ActionSheet > ActionSheet statusVue demo works fine 1`] = `
-
-
-
-
-
-
-
+
`;
diff --git a/src/action-sheet/__test__/index.test.jsx b/src/action-sheet/__test__/index.test.jsx
index 6a62a711e..31c5de920 100644
--- a/src/action-sheet/__test__/index.test.jsx
+++ b/src/action-sheet/__test__/index.test.jsx
@@ -113,11 +113,11 @@ describe('ActionSheet', () => {
items: [],
},
});
- expect(wrapper.find(`.${prefix}-popup`).isVisible()).toEqual(false);
+ expect(wrapper.find(`.${prefix}-popup`).exists()).toBeFalsy();
await wrapper.setProps({
visible: true,
});
- expect(wrapper.find(`.${prefix}-popup`).isVisible()).toEqual(true);
+ expect(wrapper.find(`.${prefix}-popup`).exists()).toBeTruthy();
});
});
diff --git a/src/action-sheet/action-sheet-grid.vue b/src/action-sheet/action-sheet-grid.vue
index a925717db..ee14ed5fa 100644
--- a/src/action-sheet/action-sheet-grid.vue
+++ b/src/action-sheet/action-sheet-grid.vue
@@ -7,7 +7,7 @@
:navigation="{ type: 'dots', showControls: false }"
:loop="false"
:class="`${name}__swiper-wrap`"
- height="192"
+ :height="192"
>
diff --git a/src/action-sheet/action-sheet.vue b/src/action-sheet/action-sheet.vue
index cc42e03b3..d17c7753e 100644
--- a/src/action-sheet/action-sheet.vue
+++ b/src/action-sheet/action-sheet.vue
@@ -1,5 +1,5 @@
-
+