Commit 4fedf91f by yzh

feat:修改了选择器选项

parent 58a93d86
<!-- 任务执行统计卡片组件 -->
<template>
<div class="taskCard m-r-16 p-6" v-for="i in options" :key="i.value">
<div class="taskCard m-r-16 p-7" v-for="i in options" :key="i.value">
<div class="titleStyle">
<span>xx任务</span>
<span> 启用 </span>
......@@ -92,7 +92,7 @@ const options = [
background: #c6ebfc;
margin-bottom: 20px;
border: 1.5px solid rgb(255, 255, 255);
width: 400px;
width: 350px;
font-size: 20px;
height: 15.5vh;
border-radius: 7px;
......
......@@ -8,7 +8,7 @@
</el-form-item>
<el-form-item label="异常选择:">
<el-select v-model="errorValue" placeholder=" " style="width: 220px">
<el-option v-for="item in taskOptions" :key="item.value" :label="item.label" :value="item.value" />
<el-option v-for="item in errorOptions" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="时间:">
......@@ -79,6 +79,20 @@ const taskOptions = [
label: '网',
},
]
const errorOptions = [
{
value: 'task1',
label: '网络中断',
},
{
value: 'task2',
label: '地址不存在',
},
{
value: 'task3',
label: '反爬虫',
},
]
const tableData = ref([
{
name: '1',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment