فهرست منبع

不显示 zi 字辈的发音人,48000

jsonwang 3 سال پیش
والد
کامیت
0540c38311
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      BFRecordScreenKit/Classes/RecordScreen/ViewModel/BFRecordScreenViewModel.swift

+ 1 - 1
BFRecordScreenKit/Classes/RecordScreen/ViewModel/BFRecordScreenViewModel.swift

@@ -60,7 +60,7 @@ public class BFRecordScreenViewModel: NSObject {
                     category.cateID = cateId
                     categorys.append(category)
                     for voice in voices["voiceDatas"] as! [[String: Any]] {
-                        if voice.keys.contains("channel"), "\(voice["channel"] ?? "")" == "aliyun", voice.keys.contains("appEnable"), "\(voice["appEnable"] ?? "")" == "1" {
+                        if voice.keys.contains("channel"), "\(voice["channel"] ?? "")" == "aliyun", voice.keys.contains("appEnable"), "\(voice["appEnable"] ?? "")" == "1" ,(voice["voice"] as? String ?? "") != "zhitian" {
                             let voiceModel = PQVoiceModel()
                             voiceModel.voice = voice["voice"] as? String ?? ""
                             voiceModel.name = voice["name"] as? String ?? ""