فهرست منبع

修复iOS common editor 组件自动完成输入框默认初始化会造成闪退的bug。(resolve: #14142)

Ray Zhang 5 سال پیش
والد
کامیت
32987cae96
1فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 6
      common/customUI/commoneditor/CommonEditorViewController.m

+ 2 - 6
common/customUI/commoneditor/CommonEditorViewController.m

@@ -6152,12 +6152,8 @@
 {
     
     NSMutableArray* ret = [NSMutableArray new];
-    [ret addObject:@"autocomplete"];
-    [ret addObject:@"datasource"];
-    [ret addObject:@"loadCadidate"];
-    [ret addObject:@"does"];
-    [ret addObject:@"not"];
-    [ret addObject:@"impl"];
+    NSDictionary* obj = @{@"name":@"",@"value":@"autocomplete datasource loadCadidate does not impl"};
+    [ret addObject:obj];
     return ret;
 }