|
@@ -10,8 +10,7 @@ import { da } from "element-plus/es/locale/index.mjs";
|
|
const $router = useRouter();
|
|
const $router = useRouter();
|
|
const emit = defineEmits(["handleImport"]);
|
|
const emit = defineEmits(["handleImport"]);
|
|
const fileDocument = ref<File | null>(null); // 存储文件
|
|
const fileDocument = ref<File | null>(null); // 存储文件
|
|
-const backupUrl =
|
|
+const backupUrl = import.meta.env.VITE_BACKUP_URL + "/指标数据模板.xlsx";
|
|
- import.meta.env.VITE_BACKUP_URL + "/download/指标数据模板.xlsx";
|
|
|
|
// 上传文件函数
|
|
// 上传文件函数
|
|
// 上传文件函数
|
|
// 上传文件函数
|
|
const uploadFile = async () => {
|
|
const uploadFile = async () => {
|