Pārlūkot izejas kodu

解决蓝牙功能排序问题

xiaohaizhao 10 mēneši atpakaļ
vecāks
revīzija
1e25042dd1
1 mainītis faili ar 1 papildinājumiem un 6 dzēšanām
  1. 1 6
      control/components/prodnum-FW01B/prodnum-FW01B.vue

+ 1 - 6
control/components/prodnum-FW01B/prodnum-FW01B.vue

@@ -64,12 +64,7 @@ export default {
   watch: {
     control: function (newVal) {
       if (newVal) {
-        let names = [];
-        const keys = Object.keys(newVal.function).sort();
-        for (const key of keys) {
-          names.push(key);
-        }
-        this.list = this.__proto__.getControlItem(names, newVal, {
+        this.list = this.__proto__.getControlItem(newVal.function_sequence, newVal, {
           安装位置: "radio",
           第二域名: "string",
         });