瀏覽代碼

mixin bug修复

DESKTOP-O04BTUJ\muzen 2 年之前
父節點
當前提交
c4c10455ef
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/mixin/index.js

+ 1 - 0
src/mixin/index.js

@@ -255,6 +255,7 @@ const platformMixin = {
   methods: {
   methods: {
     // 通过音频类型获取对应的平台
     // 通过音频类型获取对应的平台
     getPlatform(e) {
     getPlatform(e) {
+      this.platformOptions = []
       return new Promise((resolve, reject) => {
       return new Promise((resolve, reject) => {
         audioType(e).then(res => {
         audioType(e).then(res => {
           if (res.code === 0) {
           if (res.code === 0) {