Administrator
2022-01-04 0e4d44c2f5a7511d2eee72deecb76b5ba67358cd
src/views/wel/index.vue
@@ -67,15 +67,7 @@
  },
  created(){
    //获取二维码图片
    // if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator"){
    //   this.isImg = true;
    //   //查询图片
    //   getDetails(10).then((res) => {
    //     const att = res.data.data;
    //     this.img = att.link;
    //   });
    // }
    if(this.userInfo.role_name == "administrator"){
    if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator"){
      this.isImg = true;
      //查询图片
      getDetails(10).then((res) => {