mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
build docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template><section class="demo-search"><h1 class="demo-title">search</h1><example-block title="基础用法">
|
||||
<zan-search placeholder="商品名称" @search="goSearch"></zan-search>
|
||||
<zan-search placeholder="商品名称" @search="goSearch" @change="handleChange"></zan-search>
|
||||
|
||||
|
||||
</example-block></section></template>
|
||||
@@ -10,6 +10,9 @@ export default {
|
||||
methods: {
|
||||
goSearch(value) {
|
||||
alert(value)
|
||||
},
|
||||
handleChange(value) {
|
||||
console.log(value);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user