From 032f821c77485c1178de18f78092ddedd25d2fb2 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期三, 09 四月 2025 15:26:58 +0800 Subject: [PATCH] 添加删除功能到灌溉计划页面,用户可通过点击删除按钮确认删除相应的轮灌计划;更新样式以增强用户体验。 --- api/config.js | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/api/config.js b/api/config.js index 07885fe..a176cb6 100644 --- a/api/config.js +++ b/api/config.js @@ -1,10 +1,16 @@ -const { ENV } = require('./env') +const { + ENV +} = require('./env') let BASEURL const PROJECT_URLS = { JYG: 'https://irrigate.dayuyanjiuyuan.top/', // 鍢夊唱鍏抽」鐩� - // MQ: 'https://shifanqu1.dayuyanjiuyuan.top/' // 姘戝嫟椤圭洰 - MQ: 'https://no253541tf71.vicp.fun/' // 姘戝嫟椤圭洰 + MQ: 'https://shifanqu1.dayuyanjiuyuan.top/', // 姘戝嫟椤圭洰 + TEST: 'https://no253541tf71.vicp.fun/', // test椤圭洰 + SCHOOL: 'https://school.dayuyanjiuyuan.top/' // 瀛︽牎椤圭洰 + // TEST:'http://192.168.40.182:8087/'// test椤圭洰 + // MQ: 'https://no253541tf71.vicp.fun/' // 姘戝嫟椤圭洰 + // TEST: 'http://192.168.40.166:54321/' } // 灏濊瘯浠庢湰鍦板瓨鍌ㄨ幏鍙栧凡閫夋嫨鐨勯」鐩� @@ -22,7 +28,7 @@ console.error('浠庢湰鍦板瓨鍌ㄨ幏鍙栭」鐩け璐�:', e); } } - + // 濡傛灉鍏ㄥ眬搴旂敤宸插垵濮嬪寲锛屼篃灏濊瘯浠庡叏灞�鍙橀噺鑾峰彇 const app = getApp(); if (app && app.globalData && app.globalData.selectedProject) { @@ -57,7 +63,7 @@ } module.exports = { - BASEURL,// 椤圭洰鎺ュ彛鍦板潃锛屾敮鎸佸鍩熷悕 + BASEURL, // 椤圭洰鎺ュ彛鍦板潃锛屾敮鎸佸鍩熷悕 PROJECT_URLS, setBaseUrl } \ No newline at end of file -- Gitblit v1.8.0