@@ -54,7 +54,8 @@
ref="table"
:style="{ height: tableHeight+75+'px' }"
size="small"
- :rowKey="(record) => record.id"
+ :rowKey="(record) => record.no"
+ rowKeyName="no"
:columns="columns"
:data="loadData"
:scroll="{ y: tableHeight }"
@@ -57,7 +57,8 @@
@@ -107,9 +107,9 @@ const vueConfig = {
// If you want to turn on the proxy, please remosve the mockjs /src/main.jsL11
proxy: {
'/api': {
- target: 'http://192.168.2.10/ocs-admin',
+ // target: 'http://192.168.2.10/ocs-admin',
// target: 'https://t.ocs.360arrow.com/ocs-admin', // 练习
- // target: 'https://p.ocs.360arrow.com/ocs-admin', // 预发布
+ target: 'https://p.ocs.360arrow.com/ocs-admin', // 预发布
ws: false,
changeOrigin: true,
pathRewrite: {