Showing
1 changed file
with
3 additions
and
3 deletions
... | ... | @@ -62,7 +62,7 @@ |
62 | 62 | <u-radio activeColor="#3388FF" label="双向" name="TwoWay"></u-radio> |
63 | 63 | </u-radio-group> |
64 | 64 | </view> |
65 | - <view style="margin-top: 28rpx;width: 100%;"><u--textarea placeholder="请输入命令内容" v-model="commandValue" /></view> | |
65 | + <view style="margin-top: 28rpx;width: 100%;"><u--textarea placeholder="请输入详情" v-model="commandValue" /></view> | |
66 | 66 | |
67 | 67 | <view class="button-group"> |
68 | 68 | <view><u-button :customStyle="{ color: '#333' }" color="#e3e3e5" shape="circle" text="取消" @click="cancelCommand"></u-button></view> |
... | ... | @@ -90,8 +90,8 @@ export default { |
90 | 90 | commandValue: JSON.stringify({ |
91 | 91 | method: 'methodThingskit', |
92 | 92 | params: { |
93 | - pin: 7, | |
94 | - value: 1 | |
93 | + method: 'methodThingskit', | |
94 | + params: { pin: 7, value: 1 } | |
95 | 95 | } |
96 | 96 | }) |
97 | 97 | }; | ... | ... |