@deepinnet-components/pc 0.0.28 → 0.0.29

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.
@@ -11,7 +11,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import { Form, FormItem, Input, Select } from '@formily/antd-v5';
12
12
  import { createForm } from '@formily/core';
13
13
  import { createSchemaField } from '@formily/react';
14
- import { Modal, message, Checkbox } from 'antd';
14
+ import { Checkbox, Modal, message } from 'antd';
15
15
  import React, { useContext, useEffect, useMemo, useState } from 'react';
16
16
  import OrgSelect from "../../../OrgSelect";
17
17
  import { MEMBER_TYPE_ENUM, MEMBER_TYPE_TEXT_ENUM } from "../../../enum";
@@ -227,6 +227,9 @@ var CreateMember = function CreateMember(props) {
227
227
  // disabled: '{{type === "edit"}}',
228
228
  },
229
229
  'x-validator': [{
230
+ required: true,
231
+ message: '请输入手机号'
232
+ }, {
230
233
  format: 'phone',
231
234
  message: '请输入正确的手机号'
232
235
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",