👍️[Update] Model : tauri -> python のencode処理を整理
This commit is contained in:
@@ -4,7 +4,7 @@ import { encode } from 'js-base64'
|
||||
export const useStdoutToPython = () => {
|
||||
const asyncStdoutToPython = async (path, value) => {
|
||||
let send_object = { endpoint: path };
|
||||
if (value) send_object.data = encode(value);
|
||||
if (value) send_object.data = encode(JSON.stringify(value));
|
||||
|
||||
// send to python
|
||||
const backend_subprocess = store.backend_subprocess;
|
||||
|
||||
Reference in New Issue
Block a user