xiaohaizhao vor 5 Monaten
Ursprung
Commit
60dac55297
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      control/components/prodnum-FW01B/prodnum-FW01B.vue

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

@@ -65,7 +65,8 @@ export default {
     control: function (newVal) {
       if (newVal) {
         let names = [];
-        for (const key in newVal.function) {
+        const keys = Object.keys(newVal.function).sort();
+        for (const key of keys) {
           names.push(key);
         }
         this.list = this.__proto__.getControlItem(names, newVal, {