Showing
1 changed file
with
2 additions
and
2 deletions
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | <template #commandSlot> |
| 6 | 6 | <div class="flex"> |
| 7 | 7 | <div ref="jsoneditorRef" style="height: 100%; width: 100%"></div> |
| 8 | - <Tooltip title='{"method":"setGpio","params":{"pin":7,"value":1}}' class="ml-2"> | |
| 8 | + <Tooltip title='{"method":"methodThingskit","params":{"pin":7,"value":1}}' class="ml-2"> | |
| 9 | 9 | <QuestionCircleOutlined style="font-size: 1rem" /> |
| 10 | 10 | </Tooltip> |
| 11 | 11 | </div> |
| ... | ... | @@ -87,7 +87,7 @@ |
| 87 | 87 | jsonData.value.additionalInfo = { |
| 88 | 88 | cmdType: 'API', |
| 89 | 89 | }; |
| 90 | - jsonData.value.method = 'setGpio'; | |
| 90 | + jsonData.value.method = 'methodThingskit'; | |
| 91 | 91 | jsonData.value.params = { ...getJson }; |
| 92 | 92 | commandIssuanceApi(field.commandType, props.deviceDetail.tbDeviceId, jsonData.value) |
| 93 | 93 | .then((res) => { | ... | ... |