# @beisen-platform/platform-location

> 平台地区选择组件,绑定平台元数据

Latest version **1.0.21** (published 2019-08-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-platform/platform-location
pnpm add @beisen-platform/platform-location
yarn add @beisen-platform/platform-location
bun add @beisen-platform/platform-location
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.21 |
| Published | 2019-08-14 |
| First published | 2018-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 455.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | beisen |
| Maintainers | beisencorp |
| Keywords | beisen, react-component, es6 |

## Links

- npm: https://www.npmjs.com/package/@beisen-platform/platform-location
- npm.io page: https://npm.io/package/@beisen-platform/platform-location

## Dependencies (1)

- [@beisen-platform/react-icons](https://npm.io/package/@beisen-platform/react-icons.md)

## Recent versions

- 1.0.21 (latest) — 2019-08-14
- 1.0.19 — 2019-08-07
- 1.0.18 — 2019-07-10
- 1.0.17 — 2019-07-03
- 1.0.16 — 2019-05-23
- 1.0.15 — 2019-05-23
- 1.0.14-rc.1 — 2019-04-29
- 1.0.14 — 2019-04-29
- 1.0.13 — 2019-04-10
- 1.0.12 — 2019-03-15
- 1.0.11 — 2019-02-22
- 1.0.9 — 2019-02-21
- 1.0.8 — 2019-02-21
- 1.0.7 — 2019-02-20
- 1.0.6 — 2019-02-01
- … 7 more at https://npm.io/package/@beisen-platform/platform-location/versions

## README

## 组件使用、扩展文档

## 提交


1. 修改package.json中的devDependencies里依赖版本， @beisen/gulp-lib -> 0.1.1; @beisen/storybook-lib -> 0.3.0
2. npm install
3. 修改代码后执行 npm run lib进行编译
4. 更新package.json中的 version版本号
5. push代码
6. 在cmp.beisen.io站点，头部导航的《服务》中查看编译是否通过

## 使用参数

```
{
  text: this.props.text || '',
  value: this.props.value || '',
  "cmp_id": "c569ca1e-e58b-4a54-8a82-274ebc654162",
  "cmp_name": "diquduoxuan27",
  "cmp_type": "BC_LookUpV2",
  "cmp_label": "地区选择（多选）dev",
  "cmp_data": {
      "AllowSearchNull":"0",
      "title": "地区选择（多选）dev",
      "field_name": "BeisenCloudDemo.searchshengji.diquduoxuan27",
      "required": false,
      "cmp_state": "create",
      "cmp_status": "editable",
      "editdisplaystate": "editable",
      "createdisplaystate": "editable",
      "showdisplaystate": "readonly",
      "datasourcename": "NativePlace",
      "metaObjectName":"BeisenCloudDemo.searchshengji",
      "dataType": "Text",
      "singleSelect": false // 单选，多选； 如果是单选，可选总数为1；如果是多选，可选总数为99
      "isFullPathFormat": true //全路径选择，默认false
  },
  "search_data": {
    metaFieldRelationIDPath: null,
    metaobjectname: "BeisenCloudDemo.searchshengji",
    opeartor: "eq",
    seperator: "-"
  },
  "form_errors":{},  //提示错误信息
  "biz_data": { "text": "" },
  "validators": {},
  styleTitle: 'rightFlush',        // "upAndDown" , "rightFlush",  "leftFlush", label的位置上下还是左右
  onChange: (value) => {}  //回调事件
}
```

## 组件使用

1. npm install @beisen-cmps/platform-location
2. import PlatFormLocation from '@beisen-cmps/platform-location'

```
render() {
  return <PlatFormLocation {...this.props}/>;
}
```

---
_Source: https://npm.io/package/@beisen-platform/platform-location · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
