fix(SwipeCell): compatible with desktop scenario (#5077)

This commit is contained in:
neverland
2019-11-22 10:32:17 +08:00
committed by GitHub
parent aba9e3f009
commit b889ab09e8
4 changed files with 18 additions and 22 deletions
+2 -5
View File
@@ -1,7 +1,6 @@
<template>
<div>
<demo-section>
<van-notice-bar>{{ $t('tips') }}</van-notice-bar>
<demo-block :title="$t('basicUsage')">
<van-swipe-cell>
<template #left>
@@ -67,8 +66,7 @@ export default {
collect: '收藏',
title: '单元格',
title2: '异步关闭',
confirm: '确定删除吗?',
tips: '建议在手机模式下浏览本示例'
confirm: '确定删除吗?'
},
'en-US': {
select: 'Select',
@@ -76,8 +74,7 @@ export default {
collect: 'Collect',
title: 'Cell',
title2: 'Async close',
confirm: 'Are you sure to delete?',
tips: 'Please try this demo in mobile mode'
confirm: 'Are you sure to delete?'
}
},