Compare commits
No commits in common. "d1715a03a32f283d2faeadee02a1ae98b956485a" and "b0615ba36d4efe2c1b01a9ffa1772d68f1e57351" have entirely different histories.
d1715a03a3
...
b0615ba36d
|
@ -4,7 +4,7 @@ import router from '../router'
|
||||||
|
|
||||||
const myAxios = axios.create({
|
const myAxios = axios.create({
|
||||||
withCredentials:true,
|
withCredentials:true,
|
||||||
baseURL: 'http://localhost:9092/api'//测试服务器
|
baseURL: 'http://localhost:8888/api'//测试服务器
|
||||||
});
|
});
|
||||||
// 添加请求拦截器
|
// 添加请求拦截器
|
||||||
axios.interceptors.request.use(function (config) {
|
axios.interceptors.request.use(function (config) {
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</div>
|
</div>
|
||||||
<!-- 数据展示 -->
|
|
||||||
<el-table :data="tableData" border stripe header-cell-class-name="headerBg" :cell-style="{textAlign: 'center'}"
|
<el-table :data="tableData" border stripe header-cell-class-name="headerBg" :cell-style="{textAlign: 'center'}"
|
||||||
@selection-change="handleSelectionChange" :header-cell-style="{'text-align': 'center'}"
|
@selection-change="handleSelectionChange" :header-cell-style="{'text-align': 'center'}"
|
||||||
>
|
>
|
||||||
|
@ -48,7 +47,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="goodImg" label="商品图片">
|
<el-table-column label="商品图片">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div>
|
<div>
|
||||||
<img :src="scope.row.goodImg" alt="" style="height: 50px;">
|
<img :src="scope.row.goodImg" alt="" style="height: 50px;">
|
||||||
|
@ -125,9 +124,9 @@
|
||||||
<el-pagination
|
<el-pagination
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"
|
@current-change="handleCurrentChange"
|
||||||
:current-page="searchParams.current"
|
:current-page="pageNum"
|
||||||
:page-size="searchParams.pageSize"
|
:page-size="pageSize"
|
||||||
:page-sizes="[5, 10, 15, 20]"
|
:page-sizes="[2, 5, 10, 20]"
|
||||||
:small="null"
|
:small="null"
|
||||||
:disabled="null"
|
:disabled="null"
|
||||||
:background="null"
|
:background="null"
|
||||||
|
@ -271,8 +270,6 @@ const Region = ref('');
|
||||||
let selectedProduct = ref('');
|
let selectedProduct = ref('');
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const tableData = ref([]);
|
const tableData = ref([]);
|
||||||
//商品状态
|
|
||||||
const status = ref(0)
|
|
||||||
let editForm = ref({
|
let editForm = ref({
|
||||||
id: '',
|
id: '',
|
||||||
goodImg: '',
|
goodImg: '',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user