diff --git a/src/calendar/calendar.wxml b/src/calendar/calendar.wxml index 135766ada..a752fb468 100644 --- a/src/calendar/calendar.wxml +++ b/src/calendar/calendar.wxml @@ -10,4 +10,6 @@ > - + + + diff --git a/src/input/__test__/demo.test.js b/src/input/__test__/demo.test.js index 603f344e8..cdffa0aab 100644 --- a/src/input/__test__/demo.test.js +++ b/src/input/__test__/demo.test.js @@ -5,21 +5,7 @@ import path from 'path'; import simulate from 'miniprogram-simulate'; -const mapper = [ - 'align', - 'banner', - 'base', - 'bordered', - 'custom', - 'label', - 'layout', - 'maxlength', - 'prefix', - 'size', - 'special', - 'status', - 'suffix', -]; +const mapper = ['align', 'banner', 'base', 'bordered', 'custom', 'label', 'layout', 'maxlength', 'prefix', 'size', 'special', 'status', 'suffix']; describe('Input', () => { mapper.forEach((demoName) => { diff --git a/src/rate/__test__/__snapshots__/demo.test.js.snap b/src/rate/__test__/__snapshots__/demo.test.js.snap index 20713c7bf..0508127be 100644 --- a/src/rate/__test__/__snapshots__/demo.test.js.snap +++ b/src/rate/__test__/__snapshots__/demo.test.js.snap @@ -134,6 +134,26 @@ exports[`Rate Rate custom demo works fine 1`] = ` `; +exports[`Rate Rate custom-prefix demo works fine 1`] = ` + + + + 第三方图标 + + + + +`; + exports[`Rate Rate show-text demo works fine 1`] = ` { mapper.forEach((demoName) => { diff --git a/src/search/__test__/__snapshots__/demo.test.js.snap b/src/search/__test__/__snapshots__/demo.test.js.snap index 01b84450c..0c1a7062c 100644 --- a/src/search/__test__/__snapshots__/demo.test.js.snap +++ b/src/search/__test__/__snapshots__/demo.test.js.snap @@ -32,6 +32,27 @@ exports[`Search Search base demo works fine 1`] = ` `; +exports[`Search Search maxlength demo works fine 1`] = ` + + + + + + + + +`; + exports[`Search Search other demo works fine 1`] = ` { mapper.forEach((demoName) => {