From c0da0912804a3dc62c06d7a5bb17f81849330aab Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 1 Jul 2022 16:49:41 +0800 Subject: [PATCH] chore(uts): update test --- .../test-uniplugin-ios/ios/src/TestSwiftComponent.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/playground/uts/unpackage/nativeplugins/test-uniplugin-ios/ios/src/TestSwiftComponent.swift b/packages/playground/uts/unpackage/nativeplugins/test-uniplugin-ios/ios/src/TestSwiftComponent.swift index c47cc8259..6e167d8fb 100644 --- a/packages/playground/uts/unpackage/nativeplugins/test-uniplugin-ios/ios/src/TestSwiftComponent.swift +++ b/packages/playground/uts/unpackage/nativeplugins/test-uniplugin-ios/ios/src/TestSwiftComponent.swift @@ -44,9 +44,9 @@ class TestSwiftComponent : DCUniComponent, MKMapViewDelegate { } func mapViewDidFinishLoadingMap(_ mapView: MKMapView) { if (self.mapLoadedEvent) { - self.fireEvent("mapLoaded", { - mapLoaded: "success" - }); + self.fireEvent("mapLoaded", [ + "mapLoaded": "success" + ]); } } } -- GitLab