test(ContactList): update test cases

This commit is contained in:
chenjiahan
2020-11-27 21:27:32 +08:00
parent 6348605449
commit 4b340477af
6 changed files with 95 additions and 74 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export default createComponent({
<Radio name={item.id} iconSize={16} checkedColor={RED} />
);
const renderLeftIcon = () => (
const renderEditIcon = () => (
<Icon
name="edit"
class={bem('edit')}
@@ -61,7 +61,7 @@ export default createComponent({
return (
<Cell
v-slots={{
icon: renderLeftIcon,
icon: renderEditIcon,
default: renderContent,
'right-icon': renderRightIcon,
}}