Commit 2c0dfe021b20a89b50699e39ca88b586d2b6805c
Merge branch 'ft' into 'main_dev'
pref:优化测试接口表格参数值加提示 See merge request yunteng/thingskit-front!531
Showing
2 changed files
with
16 additions
and
2 deletions
| @@ -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: { |