|
@@ -337,6 +337,8 @@ export function uwbMain(domId, modelWidth, modelHeight, finalMode, callback) {
|
|
console.log("模型加载出错");
|
|
console.log("模型加载出错");
|
|
} else {
|
|
} else {
|
|
let HousePlay = HOUSEPLAY.HousePlay;
|
|
let HousePlay = HOUSEPLAY.HousePlay;
|
|
|
|
+ let playerContainer = document.getElementById(domId)
|
|
|
|
+ data.container = playerContainer;
|
|
sdkInstance = new HousePlay(data);
|
|
sdkInstance = new HousePlay(data);
|
|
window.sdkInstance = sdkInstance;
|
|
window.sdkInstance = sdkInstance;
|
|
sdkInstance.start();
|
|
sdkInstance.start();
|