小店
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user