@zgfe/modules-settings 2.1.0-zhongyuan.20 → 2.1.0-zhongyuan.21

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.
@@ -8,6 +8,7 @@ import React, { useEffect, useState } from 'react';
8
8
  import { Button, Form, Input, notification } from 'antd';
9
9
  import { BizGlobalDataContext } from '@zgfe/business-lib';
10
10
  import { urlRequest } from '../../../utils/ajax';
11
+ import request from '../../../utils/ajax';
11
12
  import apis from '../../../constants/api';
12
13
  import { useContext } from 'react';
13
14
  var TextArea = Input.TextArea;
@@ -50,7 +51,7 @@ var AppDataAccessFilter = function AppDataAccessFilter() {
50
51
  var onSubmit = function onSubmit(value) {
51
52
  var ip = value.ip,
52
53
  ua = value.ua;
53
- urlRequest(apis.setting.createFilter, {
54
+ request(apis.setting.createFilter, {
54
55
  method: 'post',
55
56
  data: {
56
57
  appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "2.1.0-zhongyuan.20",
3
+ "version": "2.1.0-zhongyuan.21",
4
4
  "private": false,
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -67,7 +67,7 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "b062bec8eede9288d53a3eb35627c34908a5ef04",
70
+ "gitHead": "aa46d7fb05bf927eef75e3aa99d526f45daba984",
71
71
  "gitHooks": {
72
72
  "pre-commit": "lint-staged"
73
73
  }