diff --git a/components.json b/components.json index 981b1b9db..413d66319 100644 --- a/components.json +++ b/components.json @@ -8,5 +8,6 @@ "cell-group": "./packages/cell-group/index.js", "popup": "./packages/popup/index.js", "dialog": "./packages/dialog/index.js", - "picker": "./packages/picker/index.js" + "picker": "./packages/picker/index.js", + "radio-group": "./packages/radio-group/index.js" } diff --git a/docs/examples/picker.md b/docs/examples/picker.md index d9c84223b..cbd242a8a 100644 --- a/docs/examples/picker.md +++ b/docs/examples/picker.md @@ -1,7 +1,46 @@ + + ## Picker组件 模仿iOS中的`UIPickerView`。 +### 基础用法 + +:::demo 基础用法 +```html + +``` +::: + ### API | 参数 | 说明 | 类型 | 默认值 | 可选值 | diff --git a/docs/examples/switch.md b/docs/examples/switch.md index 400912c95..b77773cb3 100644 --- a/docs/examples/switch.md +++ b/docs/examples/switch.md @@ -43,13 +43,17 @@ export default { :::demo 样例代码 ```html
-
+
-
{{switchStateText}}
+
{{switchStateText}}
-
+
-
OFF, DISABLED
+
ON, DISABLED
+
+
+ +
OFF, DISABLED
``` diff --git a/package.json b/package.json index 2090aa0d9..f10b62000 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,6 @@ "rimraf": "^2.5.4", "run-sequence": "^1.2.2", "saladcss-bem": "^0.0.1", - "sass-loader": "^3.2.3", "style-loader": "^0.13.1", "theaterjs": "^3.0.0", "transliteration": "^1.1.11", diff --git a/packages/cell/src/cell.vue b/packages/cell/src/cell.vue index 996bf3a12..8db64129c 100644 --- a/packages/cell/src/cell.vue +++ b/packages/cell/src/cell.vue @@ -1,15 +1,15 @@