zouyu
4 天以前 377c218884cdd3375ddac98d42df6778550f3de0
代码调整6
已修改3个文件
8 ■■■■ 文件已修改
index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
vite.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -7,7 +7,7 @@
  <meta name="renderer" content="webkit">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <link rel="icon" href="/favicon.ico">
  <title>MIS(管理信息系统)</title>
  <title>承包商管理系统</title>
  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  <style>
    html,
src/main.js
@@ -76,7 +76,7 @@
app.config.globalProperties.addDateRange = addDateRange;
app.config.globalProperties.selectDictLabel = selectDictLabel;
app.config.globalProperties.selectDictLabels = selectDictLabels;
app.config.globalProperties.javaApi = "http://10.136.12.71:8018";
app.config.globalProperties.javaApi = "http://10.136.12.71:8024";
app.config.globalProperties.HaveJson = (val) => {
  return JSON.parse(JSON.stringify(val));
};
vite.config.js
@@ -8,8 +8,8 @@
  const { VITE_APP_ENV } = env;
  const baseUrl =
    VITE_APP_ENV == "development"
      ? "http://127.0.0.1:8018" // 开发环境后端接口
      : "http://10.136.12.71:8018"; // 生产环境后端接口
      ? "http://127.0.0.1:8024" // 开发环境后端接口
      : "http://10.136.12.71:8024"; // 生产环境后端接口
  return {
    // 部署生产环境和开发环境下的URL。