Browse Source

对接接口

master
前端-胡立永 5 months ago
parent
commit
9fc18ecb0a
2 changed files with 5 additions and 2 deletions
  1. +3
    -0
      components/config/configPopup.vue
  2. +2
    -2
      config.js

+ 3
- 0
components/config/configPopup.vue View File

@ -40,6 +40,9 @@
.configPopup {
.content{
padding: 30rpx 20rpx;
overflow: scroll;
height: 100%;
box-sizing: border-box;
}
}
</style>

+ 2
- 2
config.js View File

@ -6,7 +6,7 @@ import uvUI from '@/uni_modules/uv-ui-tools'
Vue.use(uvUI);
// 当前环境
const type = 'dev'
const type = 'prod'
// 环境配置
@ -15,7 +15,7 @@ const config = {
baseUrl: 'http://dev.java996.icu/clockin-api',
},
prod: {
baseUrl: 'http://xxx.xxx.xxx/xxx',
baseUrl: 'https://clockin.java996.icu/clockin-api',
}
}


Loading…
Cancel
Save