src/views/selectFile.vue
@@ -50,16 +50,18 @@ let loading = this.$layer.loading(1); axios({ url: "readFboFile", method: "POST", method: "GET", params: { filePath: file.path, }, }).then((res) => { res = res.data; let { code, data, } = res.data; // console.log(res, res.code, "=========res"); this.$layer.close(loading); if (res.code) { let data = res.data; if (code) { data.filePath = file.path; // 解析成功 跳转到结果页面 this.$router.push({