@opentiny/vue-search-box 2.30.0 → 2.31.0

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": "@opentiny/vue-search-box",
3
- "version": "2.30.0",
3
+ "version": "2.31.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/types/index.d.ts CHANGED
@@ -123,6 +123,11 @@ export interface ISearchBoxItem {
123
123
  * 不设置或为 false 时 options 为空数组不显示 loading
124
124
  */
125
125
  asyncLoading?: boolean;
126
+ /**
127
+ * 该选项生成的标签是否禁止删除;禁止删除后仍可编辑,但仅允许修改值,
128
+ * 不允许切换属性/类型(否则等同于变相删除)
129
+ */
130
+ disableDelete?: boolean;
126
131
  [propName: string]: any;
127
132
  }
128
133
  export interface ISearchBoxOption {