1、自由浏览页有模糊的情况
2、设置锁定初始位置时,罐子飞出的动效需要禁掉
3、锁定初始位置时模糊不明显,可以考虑加个遮罩层类的东西来替代模糊
This commit is contained in:
wanganmao
2022-11-24 10:46:24 +08:00
parent 664736d203
commit 68acd23270
3 changed files with 9 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ import { computed, defineComponent, ref } from "vue";
import { jsonp } from "vue-jsonp"; import { jsonp } from "vue-jsonp";
import { loginIn } from "../Login/api.js"; import { loginIn } from "../Login/api.js";
import { jsonpUrl } from "../../config.js"; import { jsonpUrl } from "../../config.js";
import { message } from "ant-design-vue";
export default defineComponent({ export default defineComponent({
components: { components: {
Avatar, Avatar,
@@ -56,7 +57,7 @@ export default defineComponent({
localStorage.setItem("plantUserInfo", JSON.stringify(data)); localStorage.setItem("plantUserInfo", JSON.stringify(data));
localStorage.setItem("plantId", JSON.stringify(data.id)); localStorage.setItem("plantId", JSON.stringify(data.id));
} catch (error) { } catch (error) {
this.$message.error( message.error(
error.data?.message || error.message || "服务器错误" error.data?.message || error.message || "服务器错误"
); );
} }

View File

@@ -130,11 +130,13 @@ export default {
command: "onPageCompletion", command: "onPageCompletion",
}), '*'); }), '*');
this.viewer_.flyAnimation = !(this.defaultWare?.planetid);
this.viewer_.frostFarScene = this.isLocked;
// #20221018 // #20221018
this.viewer_.hold({ this.viewer_.hold({
wareId: this.defaultWare?.planetid, wareId: this.defaultWare?.planetid,
keepHold: this.isLocked, keepHold: this.isLocked,
frostFarScene: this.isLocked,
freezeRotY: this.freezeRotY ? "0" : undefined, freezeRotY: this.freezeRotY ? "0" : undefined,
}) })
}); });

File diff suppressed because one or more lines are too long