chenrui преди 4 години
родител
ревизия
392b6cc1e6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/BasicSettings/StoreAssociatedEquipmentModal.vue

+ 1 - 1
src/views/BasicSettings/StoreAssociatedEquipmentModal.vue

@@ -165,7 +165,7 @@ export default {
         title: '提示',
         content: '确定解绑该设备吗?',
         onOk () {
-          unbindVsDevice({ tenantId: _this.storeId, vsDeviceId: item.id }).then(res => {
+          unbindVsDevice({ id: item.id }).then(res => {
             if (res.status == 200) {
               _this.$message.success(res.message)
               _this.$refs.table.refresh()