Mr.Zhang
2023-08-24 7550fb636fec7a84dbdea55196d97ed635d7ab10
screen_standard/src/components/AppLayout.vue
@@ -115,9 +115,9 @@
}
const fullChange = () => {
  data.isFull = !data.isFull
  // data.isFull = !data.isFull
  let element = document.documentElement;
  if (data.isFull) {   // 全屏
  if (!data.isFull) {   // 全屏
    if (element.requestFullscreen) {
      element.requestFullscreen();
    } else if (element.webkitRequestFullScreen) {
@@ -139,10 +139,11 @@
      document.msExitFullscreen();
    }
  }
  // data.isFull = !data.isFull
  data.isFull = !data.isFull
}
onMounted(() => {
  enterprise.setDepartId()
  getDepartmentList(enterprise.companyId)
    .then(res => {
      data.comList = res
@@ -150,6 +151,7 @@
      enterprise.setDepartId(data.tempCom.id)
    })
    .catch(err => {})
  // fullChange()
  const week = ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期日']
  setInterval(() => {
    let tempDate = new Date()
@@ -184,6 +186,11 @@
  height: 100%;
  padding: 20px 30px;
  overflow-y: scroll;
  scrollbar-width:none;
  -ms-overflow-style:none;
  &::-webkit-scrollbar{
    width: 0;
  }
  display: flex;
  flex-direction: column;