解决 复制问题

master
张同海 7 months ago
parent a6d66e9d34
commit 8ecde0af19

Binary file not shown.

@ -1,10 +1,18 @@
/*
* @Author: 张同海 14166000+zhangtonghai@user.noreply.gitee.com
* @Date: 2024-01-02 08:54:47
* @LastEditors: 张同海 14166000+zhangtonghai@user.noreply.gitee.com
* @LastEditTime: 2024-04-22 16:32:01
* @FilePath: \AfrFront\src\utils\axios.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import axios from "axios";
import { Message } from "element-ui";
export default ({ data }) => {
let baseURL = "";
if (data.url == "/user/login") {
// baseURL = "http://60.209.125.238:40501"; //测试
baseURL = "http://djy-identity.myshipping.net"; //正式
baseURL = "http://60.209.125.238:40501"; //测试
// baseURL = "http://djy-identity.myshipping.net"; //正式
} else {
baseURL = process.env.VUE_APP_AXIOS_BASEURL;
}
@ -16,7 +24,7 @@ export default ({ data }) => {
function (config) {
// if (data.url !== "/user/login") {
// config.headers["Authorization"] =
// "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkQ1RTkxMDI5OUU0RURFNUZEM0EwNTJBMEFDRDUzMUQzIiwidHlwIjoiYXQrand0In0.eyJuYmYiOjE3MTIxMTQ5ODcsImV4cCI6MTcxMjE1ODE4NywiaXNzIjoiaHR0cDovLzYwLjIwOS4xMjUuMjM4OjQwNTAxIiwiY2xpZW50X2lkIjoiZGp5dXNlciIsInN1YiI6ImQ4NWZkNTkwLWQ5ZjYtNDQxMC05M2ExLWY2ZmFjNzdiNjA2ZSIsImF1dGhfdGltZSI6MTcxMjExNDk4NywiaWRwIjoibG9jYWwiLCJsb2dpbnR5cGUiOiIyIiwibG9naW5pZCI6ImQ4NWZkNTkwLWQ5ZjYtNDQxMC05M2ExLWY2ZmFjNzdiNjA2ZSIsImp0aSI6IkVDOUJFRTY2REU1N0EzNDYwRDM2NzQ3OTk1RUY1NTQ4IiwiaWF0Ij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5fvmXWErIxIB2aT7OChkRLUrI9d35354UX5njATeutng73vHIvFzQgq2tPmG7Iqgck-a74_vol2kLp7tNvwugJImm_j016Wq_THF-r6q_PzKbQl1ayPaXEq_3WgAUtC3VeXcieFPBo0-aGI-00DYIhbcdJ409U3G7iviuIQzhESyVzEo1r_XGvFH2LYJvsoclbj-Kjcu1oLktTp9x_Be-hlYvGyNQUBV907RTLaz5ItbU2O9t5ZOVahA7YG-Au8R0ERrSYPeC8fX-3BQiCYCPvW5enclRM82xm2yXdCAy__izyw";
// }
return config;
},

@ -1889,6 +1889,7 @@ export default {
});
if (item == "houseList") {
payload.houseList.forEach((arr, arrindex) => {
delete arr.gid;
Object.keys(arr).forEach((item2) => {
DelArr.forEach((Del) => {
if (Del == item2) {

@ -1119,6 +1119,7 @@ export default {
DunnoData: [],
PortData: [],
PortData2: [],
PortData3: [],
CountryData: [],
CountryData_original: [],
GetVesselData: [],
@ -1535,7 +1536,17 @@ export default {
this.GetVesselData = res.data.result;
});
GetCodePortLoad().then((res) => {
this.PortData2 = res.data.result;
// this.PortData2 = res.data.result;
res.data.result.forEach((item) => {
this.PortData3.push({
code: item.mapName,
value: item.mapCode,
});
this.PortData2.push({
code: item.mapCode,
value: item.mapName,
});
});
});
},
mounted() {

Loading…
Cancel
Save