Explorar o código

feat: 后台预览不显示返回按钮

TIANYONG hai 9 meses
pai
achega
6f73bedc78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/page-instrument/view-detail/index.tsx

+ 1 - 1
src/page-instrument/view-detail/index.tsx

@@ -157,7 +157,7 @@ export default defineComponent({
       state.isHomeWork = query.workRecord || query.evaluatingRecord;
       // 如果是纯预览模式,0.65倍缩放谱面
       state.isPreView = query.isPreView;
-      state.isWeb = query.isWeb;
+      state.isWeb = query.systemType === 'web';
       if (state.isPreView) {
         state.zoom = query.zoom  || 0.65
       }