mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-12 22:29:59 +08:00
support in mobile mode (#713)
This commit is contained in:
parent
2b1d8f73ff
commit
f27428a3c1
@ -21,7 +21,7 @@
|
|||||||
:data="listWithPrice"
|
:data="listWithPrice"
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
height="550"
|
:height="isMobile ? '300' : '550'"
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
@row-click="findlistProductWithRow"
|
@row-click="findlistProductWithRow"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
@ -228,6 +228,9 @@ export default {
|
|||||||
return process
|
return process
|
||||||
}
|
}
|
||||||
return []
|
return []
|
||||||
|
},
|
||||||
|
isMobile() {
|
||||||
|
return this.$store.state.app.device === 'mobile'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user