fmui-base 2.1.20 → 2.1.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.
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.1.21:表单组件去token
6
7
  - 2.1.20:选人组件兼容老数据,关联字段编辑时必填不校验
7
8
  - 2.1.19:选人组件回显去除接口token
8
9
  - 2.1.18:统一流程预算跳转
package/lib/form/table.js CHANGED
@@ -100,11 +100,14 @@ var PageHome = function (_React$Component) {
100
100
  if (formRelaField) {
101
101
  $.ajax({
102
102
  type: 'GET',
103
- url: getLoginUserInfo().context + "/api/m/model/formmgr/relafield/getRelaFieldsMap?token=" + getLoginUserInfo().token,
103
+ url: getLoginUserInfo().context + "/api/m/model/formmgr/relafield/getRelaFieldsMap",
104
104
  data: {
105
105
  formId: formId,
106
106
  setId: formRelaField
107
107
  },
108
+ headers: {
109
+ Authorization: 'Bearer ' + getLoginUserInfo().token
110
+ },
108
111
  dataType: "json",
109
112
  async: false,
110
113
  success: function success(data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",