<template>
  <div class="page-layout" id="smartAdminLayoutContent">
    <slot></slot>
  </div>
</template>
<script>
  import "./index.less";
  import {
    computed,
    onMounted,
    ref
  } from 'vue';
  import watermark from '/src/component/lib/smart-watermark.js';
  import {
    useStore
  } from 'vuex';
  export default {
    name: "page-layout",
    setup(props) {
      const {
        getters
      } = useStore();
      //页面初始化的时候加载水印
      onMounted(() => {
        // let userInfo = getters.userInfo;
        // let message = userInfo.username + "_" + userInfo.nickname;
        // watermark.set('smartAdminLayoutContent', userInfo.username + "_" + userInfo.nickname);
      });
    }

  }
</script>