@neatui/vue 2.0.0 → 2.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neatui/vue",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "basic component ui",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -138,16 +138,17 @@
138
138
  };
139
139
 
140
140
  const downdom = (ev: any) => {
141
- state.tipdom = true;
142
- document.addEventListener(
143
- 'mouseup',
144
- () => {
145
- setTimeout(() => {
146
- state.tipdom = false;
147
- }, 10);
148
- },
149
- true
150
- );
141
+ // 不记得了这个当时为什么要加上这个,这个会影响单选框的选中后不自动关闭下拉框啊~
142
+ // state.tipdom = true;
143
+ // document.addEventListener(
144
+ // 'mouseup',
145
+ // () => {
146
+ // setTimeout(() => {
147
+ // state.tipdom = false;
148
+ // }, 10);
149
+ // },
150
+ // true
151
+ // );
151
152
  };
152
153
 
153
154
  onMounted(() => {