zhangzengfei
2022-05-23 149b22dc62c85a5668f24073210ac5c0b1955520
src/pages/settings/components/LoraGateway.vue
@@ -135,8 +135,12 @@
    async getList() {
      const res = await getLora();
      console.log(res);
      this.loraForm = res.data;
    },
    async saveList() {
      //  this.loraForm.powerRate = `${this.loraForm.powerRate}`;
      this.loraForm.hz = `${this.loraForm.hz}`;
      //  this.loraForm.workMode = `${this.loraForm.workMode}`;
      const res = await saveLora(this.loraForm);
      console.log(res);
    },