yz3456
2024-05-14 7bbf99f0f2030d2d0672aa8d7e46ddf3cc4ab19a
在家大事迹中获取到了roleID
1个文件已修改
8 ■■■■■ 已修改文件
ruoyi-ui/src/views/bignote/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/views/bignote/index.vue
@@ -383,6 +383,7 @@
//在system/note/index.js中导入接口函数  --接好了
import {listFamilyevent,enload, delFamilyevent  , addFamilyevent , uploadPic} from "@/api/bignote/index";
import {getInfo} from "@/api/login";
export default {
  name: "Role",
  dicts: ['sys_normal_disable'],
@@ -496,9 +497,16 @@
  created() {
    this.getList();
    //   this.getCateInfor()
    this.getInfo()
  },
  methods: {
    getInfo(){
      console.log('-----------------')
      getInfo().then(response=>{
        console.log(response)
      })
    },
    isImage(fileType) {
      return fileType.startsWith('image/');