落地陆运私聊文字询价:选项核对后再建单查价,并按线路拉产品进群。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-17 16:23:30 +08:00
co-authored by Cursor
parent 83b907c4b8
commit be95d823a2
52 changed files with 4534 additions and 76 deletions
+13
View File
@@ -0,0 +1,13 @@
import { parseRouteList, joinRoutes } from "/@/views/inquiry/staffRole/staffRoutes";
test("keeps hongkong token", () => {
expect(parseRouteList("中港/中亚/中欧,东南亚")).toEqual([
"中港/中亚/中欧",
"东南亚",
]);
});
test("join roundtrip", () => {
const list = ["中港/中亚/中欧", "国内长途/零担"];
expect(parseRouteList(joinRoutes(list))).toEqual(list);
});