w-ui-v1 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/http.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-ui-v1",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "w-ui",
5
5
  "author": "wgxshh",
6
6
  "license": "ISC",
package/utils/http.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // 用promise 封装uni.request
2
2
  export default function request(options: any): Promise<any> {
3
- const baseUrl = uni.getStorageSync('baseUrl') || '/'
3
+ const baseUrl = uni.getStorageSync('baseUrl') || 'http://1.94.178.181:8082'
4
4
  const hydrocarbonProgramToken = uni.getStorageSync('hydrocarbonProgramToken') || ''
5
5
  const token = uni.getStorageSync('token') || ''
6
6
  const header = options.header || {}