This commit is contained in:
@fawn-nine
2024-05-27 17:09:18 +08:00
parent 12c8a54870
commit df1a867db0
6 changed files with 2571 additions and 98 deletions

View File

@@ -8,7 +8,7 @@
<el-form-item>
<el-input
v-model="dataForm.key"
placeholder="参数名"
placeholder="商品名"
clearable
></el-input>
</el-form-item>
@@ -104,12 +104,12 @@
label="操作"
>
<template slot-scope="scope">
<el-button
<!-- <el-button
type="text"
size="small"
@click="addOrUpdateHandle(scope.row.productId)"
>修改</el-button
>
> -->
<el-button
type="text"
size="small"
@@ -293,10 +293,12 @@ export default {
.then(({ data }) => {
if (data && data.code === 0) {
this.dataList = data.result.records;
this.totalPage = data.result.pages;
this.totalPage = data.result.total;
this.pageIndex = data.result.current
} else {
this.dataList = [];
this.totalPage = 0;
this.pageIndex = 1
}
this.dataListLoading = false;
});