Authored by 王涛

对比分析绘制

... ... @@ -273,7 +273,12 @@ export default {
let getChartData = () => {
let timeScope = form.value.scene.timeScope.replaceAll("time_scope_", "")
let timeScope = '';
try {
timeScope = form.value.scene.timeScope.replaceAll("time_scope_", "")
}catch (e) {
timeScope = form.value.scene.timeScope.replace("time_scope_", "")
}
if (timeScope == '') {
proxy.$global.showMsg("请选择时间范围!", "warning");
return;
... ...
... ... @@ -7,9 +7,8 @@
<div class="analysis-index-container" style="display: grid;">
<img src="/vue3/src/assets/images/analysis/icon-add.png" style="margin-left: 20px;"></img>
<span style="text-align: center;line-height: 50px;color: #0C4493">点击添加对比分析</span>
</div>
</router-link>
</div>
</div>
\ No newline at end of file
</div>
... ...