forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: input融合form,icon使用修改 (jd-opensource#1970)
* fix: backtop add ts interface * fix: ts类型修改 * feat: 添加*.d.ts文件 * fix: ts类型修改 * fix: toast类型修改 * fix: input组件修改,结合form * fix: input组件showlimit 调整,样式修改,icon修改 * fix: input 修改 * fix: input icon 修改 Co-authored-by: lkjh3214 <[email protected]> Co-authored-by: love_forever <[email protected]> Co-authored-by: richard1015 <[email protected]>
- Loading branch information
1 parent
d2384b6
commit cd01a7e
Showing
13 changed files
with
261 additions
and
1,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 2 additions & 15 deletions
17
src/packages/__VUE/input/__tests__/__snapshots__/input.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,16 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`should colon 1`] = ` | ||
"<view class=\\"nut-input__label\\" style=\\"width: 80px; text-align: left;\\"> | ||
<view class=\\"nut-input__label-string\\">test :</view> | ||
</view>" | ||
`; | ||
exports[`should render word limit correctly 1`] = `"<view class=\\"nut-input-word-limit\\"><span class=\\"nut-input-word-num\\">3</span>/9999</view>"`; | ||
exports[`should render word limit correctly when modelValue is null 1`] = ` | ||
"<view class=\\"nut-input nut-input--border\\" maxlength=\\"3\\"> | ||
<!--v-if--> | ||
<!--v-if--> | ||
<view class=\\"nut-input-value\\"> | ||
<view class=\\"nut-input-inner\\"> | ||
<view class=\\"nut-input-box\\"><input style=\\"text-align: left;\\" type=\\"text\\" class=\\"input-text\\" maxlength=\\"9999\\" placeholder=\\"\\" formattrigger=\\"onChange\\" enterkeyhint=\\"done\\"></view> | ||
<view class=\\"nut-input-clear-box\\"> | ||
<!--v-if--> | ||
<view class=\\"nut-input-box\\"><input style=\\"text-align: left;\\" type=\\"text\\" class=\\"input-text\\" maxlength=\\"9999\\" placeholder=\\"\\" formattrigger=\\"onChange\\" enterkeyhint=\\"done\\"> | ||
<view class=\\"nut-input-word-limit\\"><span class=\\"nut-input-word-num\\">0</span>/9999</view> | ||
</view> | ||
<!--v-if--> | ||
<!--v-if--> | ||
<!--v-if--> | ||
</view> | ||
<view class=\\"nut-input-word-limit\\"><span class=\\"nut-input-word-num\\">0</span>/9999</view> | ||
<!--v-if--> | ||
</view> | ||
</view>" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.