@@ -45,10 +39,12 @@ const tableStore = new TableStore({
url: '/user-boot/function/getButtonById',
publicHeight: 60,
column: [
- { title: '普通接口/接口名称', field: 'name', formatter: row => {
+ { title: '普通接口/接口名称', field: 'name', },
+ {
+ title: '接口类型', field: 'type', formatter: row => {
return row.cellValue == 1 ? '普通接口' : '公用接口'
- } },
- { title: '接口类型', field: 'type' },
+ }
+ },
{ title: 'URL接口路径', field: 'path' },
{
title: '操作',
diff --git a/vite.config.ts b/vite.config.ts
index a67fab5d..dd24b46a 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -25,7 +25,7 @@ export default defineConfig({
'/api': {
// target: 'http://10.95.53.49:10215', //海南服务器ip
// target: 'http://10.118.135.128:10215', ///hsw
- target: 'http://192.168.1.125:10215', ///hsw
+ target: 'http://192.168.1.81:10215', ///hsw
// target: 'http://10.119.65.152:10215', //数据中心
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''