mirror of
https://github.com/openharmony/applications_permission_manager.git
synced 2026-07-01 20:44:13 -04:00
@@ -294,7 +294,7 @@ export class GrantDialogModel extends BaseModel {
|
||||
let systemPasteboardDataSource: string = '';
|
||||
try {
|
||||
let systemPasteboard: pasteboard.SystemPasteboard = pasteboard.getSystemPasteboard();
|
||||
let data: string = systemPasteboard.getDataSource();
|
||||
let data = systemPasteboard.getDataSource();
|
||||
systemPasteboardDataSource = data || '';
|
||||
} catch (error) {
|
||||
Log.error(`getSystemPasteboard faild, code: ${error.code}, message: ${error.message}.`);
|
||||
|
||||
Reference in New Issue
Block a user