ct-component-plus 2.2.3 → 2.2.5

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,7 +1,7 @@
1
1
  {
2
2
  "name": "ct-component-plus",
3
3
  "private": false,
4
- "version": "2.2.3",
4
+ "version": "2.2.5",
5
5
  "type": "module",
6
6
  "main": "packages/components/index.js",
7
7
  "files": [
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "cingta-icon": "^2.1.6",
19
- "element-plus": "~2.4.4",
19
+ "element-plus": "2.4.4",
20
20
  "vue": "^3.2.47"
21
21
  },
22
22
  "devDependencies": {
@@ -75,19 +75,19 @@ watch(showValue, async (newValue) => {
75
75
  });
76
76
  props.cbs.change(dataList, cascaderRef.value);
77
77
  }
78
- if (propsShow.value.multiple && props.filterable) {
79
- await nextTick();
78
+ // if (propsShow.value.multiple && props.filterable) {
79
+ // await nextTick();
80
80
 
81
- // 如果组件内部没找到,尝试在文档中通过类名查找(作为最后的兜底,注意可能会影响页面上其他同类组件,所以最好通过el限制范围,如果el也拿不到才用document)
82
- const targetInput = document.querySelector(
83
- `.${componentId} .el-cascader__search-input`
84
- );
81
+ // // 如果组件内部没找到,尝试在文档中通过类名查找(作为最后的兜底,注意可能会影响页面上其他同类组件,所以最好通过el限制范围,如果el也拿不到才用document)
82
+ // const targetInput = document.querySelector(
83
+ // `.${componentId} .el-cascader__search-input`
84
+ // );
85
85
 
86
- if (targetInput) {
87
- targetInput.value = "";
88
- targetInput.dispatchEvent(new Event("input", { bubbles: true }));
89
- }
90
- }
86
+ // if (targetInput) {
87
+ // targetInput.value = "";
88
+ // targetInput.dispatchEvent(new Event("input", { bubbles: true }));
89
+ // }
90
+ // }
91
91
  });
92
92
  const popperClassShow = computed(() => {
93
93
  let popperClass = ns.e("dropdown");
@@ -110,7 +110,7 @@ const props = defineProps(selectProps);
110
110
  const emit = defineEmits(selectEmits);
111
111
  const attrs = useAttrs();
112
112
 
113
- const ns = useNamespace("select");
113
+ const ns = useNamespace("paging-select");
114
114
  const optionsByApi = ref([]);
115
115
  const showOptions = computed(() => {
116
116
  return optionsByApi.value;
@@ -401,7 +401,7 @@ defineExpose({
401
401
  });
402
402
  </script>
403
403
  <style lang="less">
404
- .ct-select {
404
+ .ct-paging-select {
405
405
  width: 214px;
406
406
  &.el-select {
407
407
  position: relative;