Commit 147e640e by 吴春元

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

parent a19a6ba1
...@@ -590,7 +590,11 @@ getLinkLists(); ...@@ -590,7 +590,11 @@ getLinkLists();
//获取首页轮播图 //获取首页轮播图
function getLinkLists() { function getLinkLists() {
getLink().then((response) => { const page = {
pageNo: 1,
pageSize: 10000,
};
getLink(page).then((response) => {
const data = response.data; const data = response.data;
const rowsList = data.rows; const rowsList = data.rows;
friendLinks.value = rowsList; friendLinks.value = rowsList;
......
...@@ -409,22 +409,22 @@ function handleRegionChange(val: string[]) { ...@@ -409,22 +409,22 @@ function handleRegionChange(val: string[]) {
// 表单数据 // 表单数据
const form = reactive({ const form = reactive({
userName: "吴大大", userName: "",
userSex: "1", userSex: 1,
userEmail: "123@qq.com", userEmail: "",
userMobile: "13800000000", userMobile: "",
region: ["北京市", "北京市"], region: [],
country: "北京市", country: "",
city: "北京市", city: "",
userAddress: "北京市朝阳区XX路XX号", userAddress: "",
reportType: 1, // 举报信息 reportType: 1, // 举报信息
websiteName: "11", //网址名称 websiteName: "", //网址名称
websitAddress: "22", //被举报网址 websitAddress: "", //被举报网址
searchType: "", //搜索引擎类型 searchType: "", //搜索引擎类型
searchKeyword: "", //举报关键字 searchKeyword: "", //举报关键字
websitDetailAddress: "111", //信息所在详细网址 websitDetailAddress: "", //信息所在详细网址
reportContent: "222", reportContent: "",
harmType: "2222", harmType: "",
fileUrl: "", fileUrl: "",
images: "", images: "",
captcha: "", 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