|
@@ -15,7 +15,7 @@ import useUserStore from "/src/store/modules/user";
|
|
|
|
|
|
// 注册指令
|
|
|
import plugins from "./plugins"; // plugins
|
|
|
-import { download, post, postFile, get, getFile, postUploadFile } from "/src/utils/request";
|
|
|
+import { download, post, postFile, get, getFile, postUploadFile, postUploadAndDownloadFile } from "/src/utils/request";
|
|
|
|
|
|
// svg图标
|
|
|
import "virtual:svg-icons-register";
|
|
@@ -71,6 +71,7 @@ app.config.globalProperties.get = get;
|
|
|
app.config.globalProperties.post = post;
|
|
|
app.config.globalProperties.postFile = postFile;
|
|
|
app.config.globalProperties.postUploadFile = postUploadFile;
|
|
|
+app.config.globalProperties.postUploadAndDownloadFile = postUploadAndDownloadFile;
|
|
|
app.config.globalProperties.getFile = getFile;
|
|
|
app.config.globalProperties.download = download;
|
|
|
app.config.globalProperties.parseTime = parseTime;
|