Commit 6e8f4fe73190dfd75d22f6391720fef93c11c82c

Authored by fengwotao
1 parent ae5625ee

pref:优化测试接口表格参数值加提示

... ... @@ -5,7 +5,13 @@
5 5 <table align="center">
6 6 <thead>
7 7 <tr>
8   - <th v-for="item in editTestCellTableTHeadConfig" :key="item">{{ item }}</th>
  8 + <th v-for="item in editTestCellTableTHeadConfig" :key="item">
  9 + <a-tooltip v-if="item === '参数值'">
  10 + <template #title>当自定义为entityType,应输入DEVICE</template>
  11 + <QuestionCircleOutlined :style="{ fontSize: '14px', marginLeft: '5px' }" />
  12 + </a-tooltip>
  13 + {{ item }}
  14 + </th>
9 15 </tr>
10 16 </thead>
11 17 <tbody>
... ... @@ -130,6 +136,7 @@
130 136 import { cloneDeep } from 'lodash-es';
131 137 import { tableItems, selectType } from '../../../types';
132 138 import { editTestCellTableTHeadConfig } from '../../../config';
  139 + import { QuestionCircleOutlined } from '@ant-design/icons-vue';
133 140
134 141 const props = defineProps({
135 142 method: {
... ...
... ... @@ -5,7 +5,13 @@
5 5 <table align="center">
6 6 <thead>
7 7 <tr>
8   - <th v-for="item in editTestCellTableTHeadConfig" :key="item">{{ item }}</th>
  8 + <th v-for="item in editTestCellTableTHeadConfig" :key="item">
  9 + <a-tooltip v-if="item === '参数值'">
  10 + <template #title>当自定义为entityType,应输入DEVICE</template>
  11 + <QuestionCircleOutlined :style="{ fontSize: '14px', marginLeft: '5px' }" />
  12 + </a-tooltip>
  13 + {{ item }}
  14 + </th>
9 15 </tr>
10 16 </thead>
11 17 <tbody>
... ... @@ -130,6 +136,7 @@
130 136 import { cloneDeep } from 'lodash-es';
131 137 import { tableItems, selectType } from '../../../types';
132 138 import { editTestCellTableTHeadConfig } from '../../../config';
  139 + import { QuestionCircleOutlined } from '@ant-design/icons-vue';
133 140
134 141 const props = defineProps({
135 142 method: {
... ...