DESKTOP-O04BTUJ\muzen пре 2 година
родитељ
комит
795e7f2176
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/mixin/index.js

+ 1 - 1
src/mixin/index.js

@@ -258,7 +258,7 @@ const platformMixin = {
       return new Promise((resolve, reject) => {
         audioType(e).then(res => {
           if (res.code === 0) {
-            resolve(this.platformOptions = [], res.data.map(i => this.platformOptions.push({
+            resolve(res.data.map(i => this.platformOptions.push({
               value: Number(i.id),
               label: i.name
             })))