Commit 147e640e by 吴春元

更新首页轮播图获取逻辑,增加分页参数;重置举报表单默认值

parent a19a6ba1
......@@ -590,7 +590,11 @@ getLinkLists();
//获取首页轮播图
function getLinkLists() {
getLink().then((response) => {
const page = {
pageNo: 1,
pageSize: 10000,
};
getLink(page).then((response) => {
const data = response.data;
const rowsList = data.rows;
friendLinks.value = rowsList;
......
......@@ -409,22 +409,22 @@ function handleRegionChange(val: string[]) {
// 表单数据
const form = reactive({
userName: "吴大大",
userSex: "1",
userEmail: "123@qq.com",
userMobile: "13800000000",
region: ["北京市", "北京市"],
country: "北京市",
city: "北京市",
userAddress: "北京市朝阳区XX路XX号",
userName: "",
userSex: 1,
userEmail: "",
userMobile: "",
region: [],
country: "",
city: "",
userAddress: "",
reportType: 1, // 举报信息
websiteName: "11", //网址名称
websitAddress: "22", //被举报网址
websiteName: "", //网址名称
websitAddress: "", //被举报网址
searchType: "", //搜索引擎类型
searchKeyword: "", //举报关键字
websitDetailAddress: "111", //信息所在详细网址
reportContent: "222",
harmType: "2222",
websitDetailAddress: "", //信息所在详细网址
reportContent: "",
harmType: "",
fileUrl: "",
images: "",
captcha: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment