mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
add unit test
This commit is contained in:
@@ -17,13 +17,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ZanIcon from 'packages/icon';
|
||||
import VanIcon from 'packages/icon';
|
||||
|
||||
export default {
|
||||
name: 'van-search',
|
||||
|
||||
components: {
|
||||
ZanIcon
|
||||
VanIcon
|
||||
},
|
||||
|
||||
props: {
|
||||
|
@@ -80,7 +80,7 @@
|
||||
*/
|
||||
handleTabClick(index, el) {
|
||||
if (el.disabled) {
|
||||
el.$emit('disabled', index);
|
||||
this.$emit('disabled', index);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user