fix: align drainage frontend configuration

This commit is contained in:
2026-07-22 15:01:35 +08:00
parent 72850761ce
commit 0995172828
45 changed files with 853 additions and 339 deletions
@@ -17,7 +17,8 @@ describe("workbench source layer controls", () => {
"orifices",
"outfalls",
"pumps",
"scada"
"scada",
"simulation"
]);
expect(items.slice(0, 5).map((item) => item.description)).toEqual([
"wenzhou:geo_conduits_mat",
@@ -26,10 +27,15 @@ describe("workbench source layer controls", () => {
"wenzhou:geo_outfalls_mat",
"wenzhou:geo_pumps_mat"
]);
expect(items.at(-1)).toMatchObject({
expect(items.at(-2)).toMatchObject({
label: "综合监测点",
description: "wenzhou:geo_scadas_mat"
});
expect(items.at(-1)).toMatchObject({
id: "simulation",
label: "模拟结果",
visible: false
});
});
it("finds every rendered layer that uses a source", () => {