Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
| | |
| | | windowHeight: '', |
| | | }, |
| | | actions: { |
| | | WHchangeHight({ state, commit }, data) { |
| | | if (data.fn) { |
| | | data.fn(); |
| | | } |
| | | data.option.height = +state.windowHeight + +data.add; |
| | | // console.log(data); |
| | | } |
| | | }, |
| | | mutations: { |
| | | setWindowSize: (state, data) => { |
| | |
| | | }; |
| | | }, |
| | | watch: { |
| | | // windowHeight() { |
| | | // let d = { |
| | | // option: this.option, |
| | | // fn: function () { |
| | | // console.log(123); |
| | | // }, |
| | | // add: 100, |
| | | // }; |
| | | // this.$store.dispatch("WHchangeHight", d); |
| | | // }, |
| | | radio() { |
| | | if (this.radio) { |
| | | this.SFZloding = true; |
| | |
| | | }, |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "permission"]), |
| | | ...mapGetters(["userInfo", "permission", "windowHeight"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.securityGuard_add, false), |