|
@@ -546,15 +546,17 @@ function back(v, i, type) {
|
|
|
search.list.push(item);
|
|
|
search['list' + type].splice(i, 1);
|
|
|
}
|
|
|
-console.log(location.search)
|
|
|
function getServer() {
|
|
|
if (!window.fetch || !rawText.value) return;
|
|
|
loading.value = true;
|
|
|
+ const ele = document.createElement("div");
|
|
|
+ ele.innerHTML = rawText.value;
|
|
|
window
|
|
|
.fetch('https://topic.smcic.net/youmei/check', {
|
|
|
method: 'POST',
|
|
|
body: JSON.stringify({
|
|
|
- text: rawText.value,
|
|
|
+ raw: ele.innerText,
|
|
|
+ text: rawText.value
|
|
|
}),
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|