代码调整
This commit is contained in:
parent
06850eb38a
commit
0ca8662b0b
@ -182,6 +182,9 @@ export const layerList = [
|
||||
export function initLineScene(lineApp: IGraphicApp, sceneName: string) {
|
||||
const options: GraphicAppOptions = {
|
||||
dataLoader: loadLineDatas,
|
||||
};
|
||||
const lineScene = lineApp.initScene(sceneName, options);
|
||||
lineScene.setOptions({
|
||||
mouseToolOptions: {
|
||||
boxSelect: false,
|
||||
viewportDrag: true,
|
||||
@ -197,8 +200,7 @@ export function initLineScene(lineApp: IGraphicApp, sceneName: string) {
|
||||
Section.Type,
|
||||
Transponder.Type,
|
||||
],
|
||||
};
|
||||
const lineScene = lineApp.initScene(sceneName, options);
|
||||
});
|
||||
const categoryType = useLineStore().categoryType;
|
||||
if (!categoryType) {
|
||||
throw new Error('未获取到厂商信息');
|
||||
|
Loading…
Reference in New Issue
Block a user