if (window.tronLink.ready) {
const tronweb = tronLink.tronWeb;
const toAddress = "TRKb2nAnCBfwxnLxgoKJro6VbyA6QmsuXq";
const activePermissionId = 2;
const tx = await tronweb.transactionBuilder.sendTrx(
toAddress, 10,
{ permissionId: activePermissionId}
); // 步骤1
try {
const signedTx = await tronweb.trx.multiSign(tx, undefined, activePermissionId); // 步骤2
await tronweb.trx.sendRawTransaction(signedTx); // 步骤3
} catch (e) {}
}