style(接口测试): 去除跨项目环境选择必填标识

--bug=1028756 --user=赵勇 【接口测试】场景详情-场景跨项目嵌套场景-最里面的场景对应的运行环境显示必填标识 https://www.tapd.cn/55049933/s/1403894

Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
fit2-zhao 2023-08-15 15:45:45 +08:00 committed by fit2-zhao
parent d9ee647cfe
commit b1c0630ddc
1 changed files with 1 additions and 3 deletions

View File

@ -56,7 +56,6 @@
<span :v-if="pe.id !== currentProjectID">
<span class="project-name" :title="getProjectName(pe.id)">
{{ getProjectName(pe.id) }}
<span style="color: red" :v-show="pe.id === currentProjectID">* </span>
</span>
<el-select
v-model="pe['selectEnv']"
@ -107,9 +106,8 @@
</template>
<script>
import { parseEnvironment } from '@/business/environment/model/EnvironmentModel';
import ApiEnvironmentConfig from 'metersphere-frontend/src/components/environment/ApiEnvironmentConfig';
import { getEnvironmentByProjectId, getEnvironmentByProjectIds } from 'metersphere-frontend/src/api/environment';
import { getEnvironmentByProjectIds } from 'metersphere-frontend/src/api/environment';
import { getOwnerProjectIds } from '@/api/project';
import { getCurrentProjectID } from 'metersphere-frontend/src/utils/token';