From 1382a7990e9b13f60c6416ada5477673a934dd16 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 29 八月 2024 09:02:57 +0800 Subject: [PATCH] ll --- pda/manifest.json | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/pda/manifest.json b/pda/manifest.json index 6e27766..4d3af04 100644 --- a/pda/manifest.json +++ b/pda/manifest.json @@ -5,6 +5,30 @@ "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, + "h5" : { + "router" : { + "mode" : "hash", + "base" : "./" + }, + // "base" : "/h5/" + "devServer" : { + "port" : 8090, + "historyApiFallback" : true, + "disableHostCheck" : true, + "proxy" : { + "/admin_interface" : { + // 杩欎釜瀛楁鍚嶉渶涓庝綘閰嶇疆鐨刡asePrefixUrl涓�鑷达紝绯荤粺璇嗗埆鍒板甫鏈�/dev-api璇锋眰鐨勫湴鍧�鏃讹紝浼氬湪鍓嶉潰鎷兼帴涓婁唬鐞嗘湇鍔″櫒鍦板潃 + // "target" : "http://192.168.0.173/admin_interface", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 + "target" : "http://192.168.0.136:10010", // 浠g悊鏈嶅姟鍣ㄥ煙鍚嶆垨IP鍦板潃 + "changeOrigin" : true, // 鍏佽璺ㄥ煙 + "pathRewrite" : { + "^/admin_interface" : "" // 閲嶅啓鍦板潃锛屽鏋滃疄闄呮帴鍙d腑鏄笉甯�/dev-api锛岄渶瑕佸皢杩欎釜鍓嶇紑缃┖锛屽洜涓鸿繖涓墠缂�鍙槸涓轰簡璇嗗埆鐢紝璇嗗埆瀹屼箣鍚庡氨娌$敤浜� + } + } + }, + "https" : false + } + }, /* 5+App鐗规湁鐩稿叧 */ "app-plus" : { "usingComponents" : true, -- Gitblit v1.9.3