| | |
| | | import Vue from 'vue' |
| | | import { ACCESS_TOKEN, TENANT_ID } from "@/store/mutation-types" |
| | | import store from '@/store' |
| | | import { buttonShowAuthFilter } from '@/utils/authFilter' |
| | | |
| | | export const JeecgListMixin = { |
| | | data(){ |
| | |
| | | } |
| | | }, |
| | | methods:{ |
| | | isShowAuth(code){ |
| | | return buttonShowAuthFilter(code); |
| | | }, |
| | | loadData(arg) { |
| | | if(!this.url.list){ |
| | | this.$message.error("请设置url.list属性!") |
| | |
| | | this.loadData() |
| | | } else { |
| | | // this.$message.error(`${info.file.name} ${info.file.response.message}.`); |
| | | this.loading = false |
| | | this.$notification.error({ |
| | | message:'消息', |
| | | description:`${info.file.name} ${info.file.response.message}.` |