|
@@ -338,8 +338,10 @@ export default defineComponent({
|
|
|
});
|
|
|
const browsInfo = browser();
|
|
|
const handleOpenFignerView = () => {
|
|
|
- detailData.orientation = state.fingeringInfo.orientation || 0;
|
|
|
- api_setRequestedOrientation(detailData.orientation);
|
|
|
+ if (!query.modelType){
|
|
|
+ detailData.orientation = state.fingeringInfo.orientation || 0;
|
|
|
+ api_setRequestedOrientation(detailData.orientation);
|
|
|
+ }
|
|
|
// const url = `${
|
|
|
// /(192|localhost)/.test(location.origin)
|
|
|
// ? "http://192.168.3.114:3000/instrument.html"
|
|
@@ -353,7 +355,7 @@ export default defineComponent({
|
|
|
detailData.fingerPreView = true;
|
|
|
};
|
|
|
const handleCloseFignerView = () => {
|
|
|
- if (detailData.orientation == 1) {
|
|
|
+ if (!query.modelType && detailData.orientation == 1){
|
|
|
api_setRequestedOrientation(0);
|
|
|
}
|
|
|
detailData.fingerPreView = false;
|