fix: ui报告点击名称跳转到了接口报告

This commit is contained in:
chenjianxing 2022-04-24 21:04:27 +08:00 committed by John Bro
parent 1a78d6aedd
commit c31ee99b72
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<span v-if="!debug"> <span v-if="!debug">
<el-input v-if="nameIsEdit" size="mini" @blur="handleSave(report.name)" @keyup.enter.native="handleSaveKeyUp" style="width: 200px" v-model="report.name" maxlength="60" show-word-limit/> <el-input v-if="nameIsEdit" size="mini" @blur="handleSave(report.name)" @keyup.enter.native="handleSaveKeyUp" style="width: 200px" v-model="report.name" maxlength="60" show-word-limit/>
<span v-else> <span v-else>
<router-link v-if="isSingleScenario" :to="{name: 'ApiAutomation', params: { dataSelectRange: 'edit:' + scenarioId }}"> <router-link v-if="isSingleScenario" :to="{name: isUi ? 'uiAutomation' : 'ApiAutomation', params: { dataSelectRange: 'edit:' + scenarioId }}">
{{ report.name }} {{ report.name }}
</router-link> </router-link>
<span v-else> <span v-else>