Commit 674eb203 authored by 季圣华's avatar 季圣华
Browse files

调整页面的高度,改为自适应(优化)

parent 998388bb
......@@ -52,12 +52,14 @@
import {addSystemConfig,editSystemConfig,checkSystemConfig } from '@/api/api'
import {autoJumpNextInput} from "@/utils/util"
import {getAction } from '@/api/manage'
import {mixinDevice} from '@/utils/mixin.js'
export default {
name: "SystemConfigList",
mixins: [mixinDevice],
data () {
return {
title:"操作",
cardStyle: 'height:' + (document.documentElement.clientHeight-125) + 'px',
cardStyle: '',
visible: true,
model: {},
depotFlagSwitch: false, //仓库权限状态
......@@ -86,6 +88,9 @@
},
created () {
this.init()
if(this.isDesktop()) {
this.cardStyle = 'height:' + (document.documentElement.clientHeight-125) + 'px'
}
},
methods: {
onDepotChange(checked) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment