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 | 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: { | ... | ... |