first commit
This commit is contained in:
3
uni_modules/tdesign-uniapp/components/search/computed.js
Normal file
3
uni_modules/tdesign-uniapp/components/search/computed.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const highLight = function (label, keyword) {
|
||||
return label.replace(keyword, `<span class="t-search__result-item--highLight">${keyword}</span>`);
|
||||
};
|
||||
Reference in New Issue
Block a user