mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-30 04:39:46 +08:00
fix(Transition): fix typescript error
This commit is contained in:
parent
32d0495777
commit
03cd984393
@ -13,16 +13,16 @@ export const transition = function(showDefaultValue: boolean) {
|
|||||||
return Behavior({
|
return Behavior({
|
||||||
properties: {
|
properties: {
|
||||||
customStyle: String,
|
customStyle: String,
|
||||||
|
// @ts-ignore
|
||||||
show: {
|
show: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
value: showDefaultValue,
|
value: showDefaultValue,
|
||||||
// @ts-ignore
|
|
||||||
observer: 'observeShow'
|
observer: 'observeShow'
|
||||||
},
|
},
|
||||||
|
// @ts-ignore
|
||||||
duration: {
|
duration: {
|
||||||
type: null,
|
type: null,
|
||||||
value: 300,
|
value: 300,
|
||||||
// @ts-ignore
|
|
||||||
observer: 'observeDuration'
|
observer: 'observeDuration'
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user