xiaohaizhao před 5 měsíci
rodič
revize
60dac55297

+ 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, {