Forráskód Böngészése

feat 增加川属血管的配置

chenjianhua 1 hónapja
szülő
commit
a5fdbe1ced
4 módosított fájl, 5 hozzáadás és 2 törlés
  1. 1 1
      .env
  2. 2 0
      .env.csxg
  3. 1 0
      package.json
  4. 1 1
      vite.config.js

+ 1 - 1
.env

@@ -1,3 +1,3 @@
 VITE_APP_IP_DEFAULT= 
 VITE_APP_IMG_HOST= 
-VITE_APP_HOST= https://xnetkf-hlwyy.hydproject.com
+VITE_APP_HOST= https://cdqycrg-hlwyy.hydproject.com

+ 2 - 0
.env.csxg

@@ -0,0 +1,2 @@
+VITE_APP_IP_DEFAULT=https://cdcsxgbyy-hlwyy.hydproject.com
+VITE_APP_IMG_HOST=https://cdcsxgbyy-hlwyy.hydproject.com

+ 1 - 0
package.json

@@ -27,6 +27,7 @@
     "build:app-ios": "uni build -p app-ios",
     "build:custom": "uni build -p",
     "build:h5": "uni build",
+    "build:h5:csxg": "uni build --mode csxg",
     "build:h5:xnet": "uni build --mode xnet",
     "build:h5:qyyst": "uni build --mode qyyst",
     "build:h5:qycrg": "uni build --mode qycrg",

+ 1 - 1
vite.config.js

@@ -72,7 +72,7 @@ export default defineConfig(({ mode }) => {
     const apiTarget = env.VITE_APP_HOST || ''
 
     // 自定义 mode 列表,构建时追加到 outDir 末尾
-    const customModes = ['', 'xnet', 'qyyst', 'qycrg']
+    const customModes = ['', 'csxg', 'xnet', 'qyyst', 'qycrg']
     if (customModes.includes(mode)) {
         // 必须在 uni() 插件之前设置,这样 static/uni_modules 复制才会进子目录
         process.env.UNI_OUTPUT_DIR = `dist/build/h5/${mode}/ABC_${mode}_patientapp_${pkg.version}`