mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[breaking change] Toast: on longer export func in component entry file (#524)
This commit is contained in:
parent
a297dba84c
commit
4f5b777360
@ -1,5 +1,4 @@
|
|||||||
import { create } from '../common/create';
|
import { create } from '../common/create';
|
||||||
import Notify from './notify';
|
|
||||||
|
|
||||||
create({
|
create({
|
||||||
props: {
|
props: {
|
||||||
@ -42,5 +41,3 @@ create({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default Notify;
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { create } from '../common/create';
|
import { create } from '../common/create';
|
||||||
import Toast from './toast';
|
|
||||||
|
|
||||||
create({
|
create({
|
||||||
props: {
|
props: {
|
||||||
@ -29,5 +28,3 @@ create({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default Toast;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user