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