Explorar el Código

fix: 左上角返回按钮问题修复

TIANYONG hace 1 año
padre
commit
482e3e2f27
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/page-instrument/header-top/index.tsx

+ 1 - 1
src/page-instrument/header-top/index.tsx

@@ -286,7 +286,7 @@ export default defineComponent({
       /** 作业模式 end */
       if (state.defaultModeType == 1) {
         headTopData.handleChangeModeType("practise");
-        if (query.modelType) {
+        if (state.platform === IPlatform.PC || state.isPreView) {
           headTopData.showBack = false;
         }
       } else {