@signalplus/params-about 0.1.30 → 0.1.31

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.
Files changed (2) hide show
  1. package/lib/es/index.js +3 -2
  2. package/package.json +5 -2
package/lib/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Bundle of @signalplus/params-about
3
3
  * Generated: 2022-04-13
4
- * Version: 0.1.30
4
+ * Version: 0.1.31
5
5
  * License: MIT
6
6
  * Author: 2631541504@qq.com
7
7
  */
@@ -1428,7 +1428,8 @@ var ParamForm = /*#__PURE__*/function (_PureComponent) {
1428
1428
  name: 'valueType',
1429
1429
  Comp: function Comp(props) {
1430
1430
  return /*#__PURE__*/React.createElement(Select, Object.assign({}, props, {
1431
- placeholder: '请选择'
1431
+ placeholder: '请选择',
1432
+ defaultValue: 1
1432
1433
  }), ParamTypeOptions.map(function (it) {
1433
1434
  return /*#__PURE__*/React.createElement(Select.Option, {
1434
1435
  key: it.value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalplus/params-about",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "A description for the module",
5
5
  "main": "./lib/umd/index.js",
6
6
  "module": "./lib/es/index.js",
@@ -10,7 +10,7 @@
10
10
  "build:css": "cross-env NODE_ENV=production node-sass ./src/css/index.scss ./lib/css/index.css --output-style compressed && ncp ./src/css ./lib/css",
11
11
  "build:js": "cross-env NODE_ENV=production rollup -c",
12
12
  "build:dts": "cross-env NODE_ENV=production BUILD_ENV=dts rollup -c",
13
- "dev": "rimraf ./lib && cross-env BUILD_ENV=watch node watch.js",
13
+ "dev": "rm -rf ./lib && cross-env BUILD_ENV=watch node watch.js",
14
14
  "build": "rimraf ./lib && npm run build:css && npm run build:js && npm run build:dts",
15
15
  "build:test": "rimraf ./test-lib && cross-env NODE_ENV=test rollup -c rollup.config.test.js --sourcemap",
16
16
  "test": "npm run build:test && cross-env NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- ./test",
@@ -87,5 +87,8 @@
87
87
  "dayjs": "^1.11.0",
88
88
  "lodash-es": "^4.17.21",
89
89
  "react-global-comp": "^2.0.1"
90
+ },
91
+ "dependencies": {
92
+ "rimraf": "^3.0.2"
90
93
  }
91
94
  }