Commit 6e8f4fe73190dfd75d22f6391720fef93c11c82c

Authored by fengwotao
1 parent ae5625ee

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

@@ -5,7 +5,13 @@ @@ -5,7 +5,13 @@
5 <table align="center"> 5 <table align="center">
6 <thead> 6 <thead>
7 <tr> 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 </tr> 15 </tr>
10 </thead> 16 </thead>
11 <tbody> 17 <tbody>
@@ -130,6 +136,7 @@ @@ -130,6 +136,7 @@
130 import { cloneDeep } from 'lodash-es'; 136 import { cloneDeep } from 'lodash-es';
131 import { tableItems, selectType } from '../../../types'; 137 import { tableItems, selectType } from '../../../types';
132 import { editTestCellTableTHeadConfig } from '../../../config'; 138 import { editTestCellTableTHeadConfig } from '../../../config';
  139 + import { QuestionCircleOutlined } from '@ant-design/icons-vue';
133 140
134 const props = defineProps({ 141 const props = defineProps({
135 method: { 142 method: {
@@ -5,7 +5,13 @@ @@ -5,7 +5,13 @@
5 <table align="center"> 5 <table align="center">
6 <thead> 6 <thead>
7 <tr> 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 </tr> 15 </tr>
10 </thead> 16 </thead>
11 <tbody> 17 <tbody>
@@ -130,6 +136,7 @@ @@ -130,6 +136,7 @@
130 import { cloneDeep } from 'lodash-es'; 136 import { cloneDeep } from 'lodash-es';
131 import { tableItems, selectType } from '../../../types'; 137 import { tableItems, selectType } from '../../../types';
132 import { editTestCellTableTHeadConfig } from '../../../config'; 138 import { editTestCellTableTHeadConfig } from '../../../config';
  139 + import { QuestionCircleOutlined } from '@ant-design/icons-vue';
133 140
134 const props = defineProps({ 141 const props = defineProps({
135 method: { 142 method: {