🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

ct-component-plus

Package Overview
Dependencies
Maintainers
6
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ct-component-plus - npm Package Compare versions

Comparing version
2.2.9
to
2.2.10
+1
-1
package.json
{
"name": "ct-component-plus",
"private": false,
"version": "2.2.9",
"version": "2.2.10",
"type": "module",

@@ -6,0 +6,0 @@ "main": "packages/components/index.js",

@@ -50,2 +50,6 @@ import { buriedParamsKey, searchComponentProps } from "../../../hooks";

noDataText: String,
keywordParam: {
type: String,
default: "keyword",
},
};

@@ -11,2 +11,3 @@ <template>

:filterable="filterable"
:filter-method="filterMethod"
:clear-icon="clearIcon"

@@ -204,3 +205,3 @@ :suffix-icon="suffixIcon"

selectRef.value.selectedLabel = newVal;
}
},
);

@@ -250,3 +251,3 @@ watch(optionsByApi, () => {

}
params.keyword = keyword.value;
params[props.keywordParam] = keyword.value;
params.page_no = pageNo.value;

@@ -264,3 +265,3 @@ params.page_size = pageSize.value;

const {
list,
list = "list",
label = "label",

@@ -305,3 +306,3 @@ value = "value",

optionsByApi,
valueModel
valueModel,
);

@@ -327,3 +328,3 @@ if (defineSearchHandle === false) return;

immediate: true,
}
},
);

@@ -393,2 +394,10 @@ // watch(

function filterMethod(val) {
if (props.multiple) {
return; //多选走原有搜索逻辑
}
keyword.value = val;
changeKeyword();
}
onMounted(() => {

@@ -395,0 +404,0 @@ if (!baseDao) {

@@ -0,1 +1,5 @@

# v2.2.10版本更新内容:
1. 优化分页下拉组件搜索相关逻辑
# v2.2.9版本更新内容:

@@ -2,0 +6,0 @@