fix 插入图片

This commit is contained in:
赵霄
2023-09-17 18:46:49 +08:00
parent 18bea574ca
commit 50e199c43c
5 changed files with 558 additions and 566 deletions
+3 -3
View File
@@ -3,12 +3,12 @@
* @author: chenxiaoxi
* @date: 2021-08-18 17:47:46
*/
const interfaceUrl = window._CONFIG.interfaceUrl + '/api/' //本地
const interfaceUrl = window._CONFIG.interfaceUrl + '/laws-sinotruk/' //本地
// const interfaceUrl = 'https://srms.foton.com.cn/api/' //线上
const uploadFilePath = 'api/att/attFile/uploadNew'
const uploadFilePath = '/laws-sinotruk/onlyoffice/upload'
const staticFilePath = window._CONFIG.interfaceUrl + '/api/att/attFile/downloadFileForSarNew' //本地
const staticFilePath = window._CONFIG.interfaceUrl + '/laws-sinotruk/onlyoffice/downLoadFile' //本地
// const staticFilePath = 'https://srms.foton.com.cn/api/att/attFile/downloadFile' //线上
module.exports = {
interfaceUrl,
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -8,7 +8,7 @@ import axios from 'axios'
const config = {
// baseURL: '/'
baseURL: window._CONFIG.interfaceUrl,//本地
baseURL: window._CONFIG.interfaceUrl//本地
// baseURL: 'https://srms.foton.com.cn',//线上
// timeout: 60 * 1000, // Timeout
// withCredentials: true, // Check cross-site Access-Control
@@ -23,7 +23,6 @@ _axios.interceptors.request.use(
(error) =>
// Do something with request error
Promise.reject(error)
)
// Add a response interceptor
@@ -34,7 +33,6 @@ _axios.interceptors.response.use(
(error) =>
// Do something with response error
Promise.reject(error)
)
export default _axios