support in mobile mode (#713)

pull/3759/head
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
1 changed files with 4 additions and 1 deletions

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: {