forked from ccsens_fe/tall-mui-3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
349 B
11 lines
349 B
const apiUrl = process.env.VUE_APP_API_URL;
|
|
import domain from '@/config/domains';
|
|
const role = `${apiUrl}${domain}/role`;
|
|
|
|
const install = (Vue, vm) => {
|
|
vm.$u.api = { ...vm.$u.api } || {};
|
|
//根据时间基准点和角色查找定期任务
|
|
vm.$u.api.findShowRole = param => vm.$u.post(`${role}/show`, param);
|
|
};
|
|
|
|
export default { install };
|
|
|