File tree Expand file tree Collapse file tree
uni_modules/wot-design-uni/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ inquirer
4646 default : 'Y'
4747 }
4848 ] )
49- . then ( ( answers ) => {
49+ . then ( ( answers : any ) => {
5050 if ( ! answers [ 'release' ] || answers [ 'release' ] . toLowerCase ( ) != 'y' ) {
5151 console . log ( '🚨 操作取消' )
5252 return
@@ -92,7 +92,7 @@ inquirer
9292 const tip = 'Run `git push --follow-tags origin ' + branch + '` ' + 'to publish'
9393 console . log ( tip . replace ( / \n / g, '' ) )
9494 } )
95- . catch ( ( error ) => {
95+ . catch ( ( error : any ) => {
9696 if ( error . isTtyError ) {
9797 // Prompt couldn't be rendered in the current environment
9898 } else {
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ const promotionlist = ref<any[]>([
163163])
164164const threshold = ref <string >(' ' )
165165const price = ref <string >(' ' )
166- const date = ref <Date >(new Date ())
166+ const date = ref <number >(new Date (). getTime ())
167167const address = ref <any []>([])
168168
169169const count = ref <number >(1 )
Original file line number Diff line number Diff line change 44 <slot v-if =" $slots.default" ></slot >
55 <view
66 v-else
7- :class =" `wd-calendar__cell ${disabled ? 'is-disabled' : ''} ${readonly ? 'is-readonly' : ''} ${alignRight ? 'is-align-right' : ''} ${
7+ :class =" `wd-calendar__cell ${disabled ? 'is-disabled' : ''} ${props. readonly ? 'is-readonly' : ''} ${alignRight ? 'is-align-right' : ''} ${
88 error ? 'is-error' : ''
99 } ${size ? 'is-' + size : ''} ${center ? 'is-center' : ''}`"
1010 >
Original file line number Diff line number Diff line change 44 <slot v-if =" useDefaultSlot" ></slot >
55 <view
66 v-else
7- :class =" `wd-col-picker__cell ${disabled && 'is-disabled'} ${readonly && 'is-readonly'} ${alignRight && 'is-align-right'} ${
7+ :class =" `wd-col-picker__cell ${disabled && 'is-disabled'} ${props. readonly && 'is-readonly'} ${alignRight && 'is-align-right'} ${
88 error && 'is-error'
99 } ${size && 'is-' + size}`"
1010 >
Original file line number Diff line number Diff line change 5050 @confirm =" handleConfirm"
5151 @keyboardheightchange =" handleKeyboardheightchange"
5252 />
53- <view v-if =" readonly" class =" wd-input__readonly-mask" />
53+ <view v-if =" props. readonly" class =" wd-input__readonly-mask" />
5454 <view v-if =" showClear || showPassword || suffixIcon || showWordCount || $slots.suffix" class =" wd-input__suffix" >
5555 <wd-icon v-if =" showClear" custom-class =" wd-input__clear" name =" error-fill" @click =" handleClear" />
5656 <wd-icon v-if =" showPassword" custom-class =" wd-input__icon" :name =" isPwdVisible ? 'view' : 'eye-close'" @click =" togglePwdVisible" />
Original file line number Diff line number Diff line change 44 <slot v-if =" useDefaultSlot" ></slot >
55 <view
66 v-else
7- :class =" `wd-select-picker__cell ${disabled && 'is-disabled'} ${readonly && 'is-readonly'} ${alignRight && 'is-align-right'} ${
7+ :class =" `wd-select-picker__cell ${disabled && 'is-disabled'} ${props. readonly && 'is-readonly'} ${alignRight && 'is-align-right'} ${
88 error && 'is-error'
99 } ${size && 'is-' + size}`"
1010 >
Original file line number Diff line number Diff line change 4747 />
4848 <view v-if =" errorMessage" class =" wd-textarea__error-message" >{{ errorMessage }}</view >
4949
50- <view v-if =" readonly" class =" wd-textarea__readonly-mask" />
50+ <view v-if =" props. readonly" class =" wd-textarea__readonly-mask" />
5151 <view class =" wd-textarea__suffix" >
5252 <wd-icon v-if =" showClear" custom-class =" wd-textarea__clear" name =" error-fill" @click =" handleClear" />
5353 <view v-if =" showWordCount" class =" wd-textarea__count" >
You can’t perform that action at this time.
0 commit comments