File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ struct DataLink: Identifiable {
19
19
enum ShowType {
20
20
case content, detail
21
21
}
22
-
23
- @MainActor @ViewBuilder
24
- static func viewToShow(
22
+
23
+ @MainActor @ViewBuilder static func viewToShow(
25
24
for title: String ? ,
26
25
selectInfo: Binding < IOInfo ? > ,
27
26
selectDev: Binding < DeveloperModel ? > ,
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ struct TaskCaseView: View {
39
39
. onAppear {
40
40
Perf . showTime ( " UI更新视图 " )
41
41
}
42
- TaskCaseAnimationView ( isBad: false )
43
- . onAppear {
44
- Perf . showTime ( " 动画视图 " )
45
- }
42
+ // TaskCaseAnimationView(isBad: false)
43
+ // .onAppear {
44
+ // Perf.showTime("动画视图")
45
+ // }
46
46
TaskCaseBigImageView ( isBad: false )
47
47
. onAppear {
48
48
Perf . showTime ( " 大图处理视图 " )
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ struct WebUIView: NSViewRepresentable {
150
150
var baseURLStr : String = " "
151
151
152
152
func makeCoordinator( ) -> Coordinator {
153
- Coordinator ( )
153
+ return Coordinator ( )
154
154
}
155
155
156
156
func makeNSView( context: Context ) -> some WKWebView {
@@ -215,7 +215,7 @@ struct WebUIViewWithSave: NSViewRepresentable {
215
215
@Binding var isStop : Bool
216
216
217
217
func makeCoordinator( ) -> Coordinator {
218
- Coordinator ( )
218
+ return Coordinator ( )
219
219
}
220
220
221
221
func makeNSView( context: Context ) -> some WKWebView {
@@ -283,7 +283,7 @@ struct WebUIView: UIViewRepresentable {
283
283
var baseURLStr : String = " "
284
284
285
285
func makeCoordinator( ) -> Coordinator {
286
- Coordinator ( )
286
+ return Coordinator ( )
287
287
}
288
288
289
289
func makeUIView( context: Context ) -> WKWebView {
@@ -332,7 +332,7 @@ struct WebUIViewWithSave: UIViewRepresentable {
332
332
@Binding var isStop : Bool
333
333
334
334
func makeCoordinator( ) -> Coordinator {
335
- Coordinator ( )
335
+ return Coordinator ( )
336
336
}
337
337
338
338
func makeUIView( context: Context ) -> WKWebView {
You can’t perform that action at this time.
0 commit comments