t-lj-service 1.0.9 → 1.0.11

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.
package/module/config.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import hooks from './hooks';
2
2
  const BASE_URL = import.meta.env.MODE === 'dev' ? '/api' : hooks.getLocal("sessioncurraddr") || '';
3
- const TIME_OUT = 10 * 1000;
3
+ const TIME_OUT = 600 * 1000;
4
4
  export enum REQUEST_METHOD {
5
5
  POST = 'post',
6
6
  GET = 'get',
@@ -44,7 +44,7 @@ let DEFAULT_QUERY: Query = {
44
44
  ReqID: '',
45
45
  ReqIden: '',
46
46
  ReqDataIden: '',
47
- ServIdentifer: 'DataMagicMgtMain',
47
+ ServIdentifer: '',
48
48
  };
49
49
 
50
50
  const CreateQuery = (options: Partial<Query>): Query => {
package/module/hooks.ts CHANGED
@@ -127,7 +127,7 @@ export const notification = (message: string, title: string = '提示', options:
127
127
  * @param url 静态资源assets内文件路径
128
128
  */
129
129
  export const getAssetsImage = (url: string): any => {
130
- return new URL(`../assets/${url}`, import.meta.url).href
130
+ return new URL(`${url}`, import.meta.url).href
131
131
  }
132
132
 
133
133
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t-lj-service",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },