mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
docs: remove unnecessary code example (#11321)
This commit is contained in:
parent
cdfcf01687
commit
4e9d830dbf
@ -153,8 +153,6 @@ If you need to make different size limits for different types of files, you can
|
|||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { showToast } from 'vant';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const isOverSize = (file) => {
|
const isOverSize = (file) => {
|
||||||
|
@ -166,8 +166,6 @@ export default {
|
|||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { showToast } from 'vant';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
setup() {
|
setup() {
|
||||||
const isOverSize = (file) => {
|
const isOverSize = (file) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user