1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

support in mobile mode (#713)

This commit is contained in:
Elsio Sanchez 2021-04-06 12:41:16 -04:00 committed by GitHub
parent 2b1d8f73ff
commit f27428a3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
:data="listWithPrice"
border
fit
height="550"
:height="isMobile ? '300' : '550'"
highlight-current-row
@row-click="findlistProductWithRow"
@current-change="handleCurrentChange"
@ -228,6 +228,9 @@ export default {
return process
}
return []
},
isMobile() {
return this.$store.state.app.device === 'mobile'
}
},
watch: {