mameng 的代码片库
//输入ajax
$.ajax({
url: "",
method: "POST",
datatype: "json",
success: (data) => {},
error: (err) => {},
});
//输入react
import React, { useState } from "react";
function App() {
const [data, setData] = useState("hello");
return <div>hello</div>;
}
export default App;
| |