1 line
78 KiB
JavaScript
1 line
78 KiB
JavaScript
|
webpackJsonp([119],{"0B0y":function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=o.info={title:"Migration from 1.x"},a=o.body="<h3 id=\"Major Changes\">Major Changes<a href=\"javascript:jumpAnchor('Major Changes')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><ul>\n<li>A new<a href=\"#/en-US/design\">financial visual specification</a>, the component design is more beautiful and the brand color is changed from <code>#FC9153</code> to <code>#2F86F6</code>.</li>\n<li>Support server rendering</li>\n<li>New component<a href=\"#/en-US/docs/components/basic/cell-item\">CellItem</a>, used to carry functions such as function entry, function operation, information display, etc.</li>\n<li>New component<a href=\"#/en-US/docs/components/basic/detail-item\">DetailItem</a>, used to display some list information.</li>\n<li>New component<a href=\"#/en-US/docs/components/business/bill\">Bill</a>, used to display electronic bills or notes.</li>\n<li>New component<a href=\"#/en-US/docs/components/basic/progress\">Progress</a>, used for progress visualization.</li>\n<li>New component<a href=\"#/en-US/docs/components/form/slider\">Slider</a>.</li>\n<li>New component<a href=\"#/en-US/docs/components/feedback/transition\">Transition</a>, encapsulate and reuse the animation used in the component library.</li>\n<li>New component<a href=\"#/en-US/docs/components/business/water-mark\">WaterMask</a>, as a container with a watermark background.</li>\n<li>54 new<a href=\"#/en-US/docs/components/basic/icon\">Icons</a>.</li>\n</ul>\n<h3 id=\"Component Changes\">Component Changes<a href=\"javascript:jumpAnchor('Component Changes')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Button\">Button<a href=\"javascript:jumpAnchor('Button')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><ul>\n<li><p>Breaking Changes</p>\n<ul>\n<li>\u26A0\uFE0F Prop <code>type</code> optional values remove <code>ghost</code>, <code>ghost-primary</code>.</li>\n<li>\u26A0\uFE0F Prop <code>disabled</code> is removed.</li>\n</ul>\n</li>\n<li><p>Features and Improvements</p>\n<ul>\n<li>\uD83D\uDD05 Prop <code>type</code> optional values add <code>default</code>, <code>warning</code>, <code>disabled</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>native-type</code>, used to change the native tag and default value is <code>button</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>plain</code>, used to display hollow style buttons and default value is <code>false</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>round</code>, used to display rounded buttons and default value is <code>false</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>inline</code>, used to display inline buttons and default value is <code>false</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>icon-svg</code>, used for buttons using SVG type icons and default value is <code>false</code>.</li>\n<li>\uD83D\uDD05 New Prop <code>inactive</code>, used to show the button is not activated and default value is <code>false</code>.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"Captcha\">Captcha<a href=\"javascript:jumpAnchor('Captcha')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><ul>\n<li>Features and Improvements<ul>\n<li>\uD83D\uDD05 New method <code>resetcount</code>, used to reset the time counter</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"Cashier\">Cashier<a href=\"javascript:jumpAnchor('Cashier')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h4\">#</a></h4><ul>\n<li><p>Features and Improvements</p>\n<ul>\n<li><p>\uD83D\uDD05 Prop <code>channels</code> elements add fields <code>iconSvg</code>, <code>action</code>, which can be used to use SVG type icons and add special actions for payment channels, such as "replace bank card".</p>\n</li>\n<li><p>\uD83D\uDD05 New Prop <code>pay-button-disabled</code>, sed to disable the payment button.</p>\n</li>\n<li><p>\uD83D\uDD05 Scene <code>captcha</code> configuration add <code>brief</code>, used to send a brief description of the verification code.</p>\n</li>\n<li><p>\uD83D\uDD05 New scoped slot <code>header</c
|