heyujie
2022-01-28 9ca36901bf15c4daf89baf7d9cd1fd487bce8a96
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);
    },