bate版本提交
This commit is contained in:
@@ -90,6 +90,14 @@ export function usePythonBridge() {
|
||||
|
||||
};
|
||||
|
||||
//导出表格
|
||||
const exportToExcel = (data) => {
|
||||
if (bridge.value) {
|
||||
bridge.value.exportToExcel(JSON.stringify(data));
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
// 在组件挂载时初始化桥接
|
||||
onMounted(initBridge);
|
||||
@@ -101,6 +109,7 @@ export function usePythonBridge() {
|
||||
loginTikTok,
|
||||
givePyAnchorId,
|
||||
backStageloginStatus,
|
||||
backStageloginStatusCopy
|
||||
backStageloginStatusCopy,
|
||||
exportToExcel
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user