We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5351b54 commit e1fa8c4Copy full SHA for e1fa8c4
src/packages/__VUE/imagepreview/index.vue
@@ -162,16 +162,6 @@ export default create({
162
return style;
163
});
164
165
- const styles = computed(() => {
166
- let style = {};
167
- if (props.closeIconPosition == 'top-right') {
168
- style.right = '10px';
169
- } else {
170
- style.left = '10px';
171
- }
172
- return style;
173
- });
174
-
175
const slideChangeEnd = function (page: number) {
176
state.active = page + 1;
177
emit('change', state.active);
@@ -201,10 +191,6 @@ export default create({
201
191
emit('close');
202
192
};
203
193
204
- // 点击关闭按钮
205
- const handleCloseIcon = () => {
206
- onClose();
207
- };
208
194
// 点击关闭按钮
209
195
const handleCloseIcon = () => {
210
196
onClose();
0 commit comments