fix:增加非空调试

This commit is contained in:
2025-11-14 14:12:47 +08:00
parent f2ab06e4bb
commit b086c5c5c9

View File

@@ -29,6 +29,7 @@ class LookImagesTool {
return LookImagesWidget(
listData: listData,
currentPage: currentPage,
onCallBack: onCallBack,
oSSAccessKeyId: oSSAccessKeyId,
policy: policy,
callback: callback,
@@ -241,7 +242,9 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
onTap: () async {
Uint8List? imageFile = await editImage(url: listData[currentPage]);
String? url = await uint8ListToTempFile(imageFile ?? Uint8List(0));
if(widget.onCallBack != null){
widget.onCallBack!(url??'');
}
},
child: Icon(Icons.edit, color: Colors.white))),
//图片张数指示器