|
@@ -1828,7 +1828,6 @@ const setState = (data: any, index: number) => {
|
|
|
} else {
|
|
|
state.zoom = localStorage.getItem('scoreZoom') ? Number(localStorage.getItem('scoreZoom')) : state.zoom
|
|
|
}
|
|
|
- state.enableEvaluation = false;
|
|
|
}
|
|
|
if (storeData.isApp && !state.isPreView) {
|
|
|
state.zoom = localStorage.getItem('scoreZoom') ? Number(localStorage.getItem('scoreZoom')) : state.zoom
|
|
@@ -1841,6 +1840,10 @@ const setState = (data: any, index: number) => {
|
|
|
if (state.isEvaluatReport) {
|
|
|
state.zoom = 0.8
|
|
|
}
|
|
|
+ // 非APP打开的页面,禁止评测
|
|
|
+ if (!storeData.isApp) {
|
|
|
+ state.enableEvaluation = false;
|
|
|
+ }
|
|
|
/**
|
|
|
* 默认渲染什么谱面类型 & 能否转谱逻辑
|
|
|
* 渲染类型:首先取url参数musicRenderType,没有该参数则取musicalInstruments字段匹配的当前分轨的defaultScore,没有匹配到则取默认值('firstTone')
|