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:
parent
2b1d8f73ff
commit
f27428a3c1
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user