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.
15 lines
408 B
15 lines
408 B
|
|
import * as nineTool from "@/utils/nineTool.js";
|
|
import { diyApi, diyApiGet } from '@/utils/queryByDiy.js';
|
|
|
|
export default {
|
|
install(app) {
|
|
// 九云工具
|
|
Object.keys(nineTool).forEach((key) => {
|
|
app.config.globalProperties[key] = nineTool[key];
|
|
});
|
|
// 自定义查询工具
|
|
app.config.globalProperties.diyApi = diyApi
|
|
app.config.globalProperties.diyApiGet = diyApiGet
|
|
}
|
|
};
|