Fixed bug
This commit is contained in:
@@ -15,6 +15,7 @@ const visible = ref('hidden');
|
||||
const fetchLink = window.location.protocol + "//" + window.location.hostname + "/mock/api/mock"
|
||||
|
||||
function prepareAndSendData(){
|
||||
console.log(JSON.stringify(props.messageData))
|
||||
if (props.messageData != null|| props.messageData != undefined ){
|
||||
fetch(fetchLink, { method: "put", body:JSON.stringify(props.messageData), headers: { "Content-Type" : "application/json" }})
|
||||
.then( response => response.text() )
|
||||
|
||||
Reference in New Issue
Block a user