Commit 970e6182 authored by 69237's avatar 69237

sunyu

parent 0dd10fd3
...@@ -116,7 +116,11 @@ ...@@ -116,7 +116,11 @@
<el-table-column label="序号" align="center" width="100"> <el-table-column label="序号" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ calculateIndex(scope.$index) }}</span> <span>{{
(queryParams.pageNum - 1) * queryParams.pageSize +
scope.$index +
1
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
......
...@@ -35,7 +35,7 @@ module.exports = { ...@@ -35,7 +35,7 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://127.0.0.1:8087`, target: `http://127.0.0.1:8080`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "", ["^" + process.env.VUE_APP_BASE_API]: "",
......
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