fix: result default icon

pull/2439/head^2
tangjinzhou 2020-06-22 22:50:10 +08:00
parent 3d6bffb067
commit a8ceef5c7d
6 changed files with 888 additions and 899 deletions

@ -1 +1 @@
Subproject commit be126edd50d4d5ac1c7a05eceb8d57d3c1169889 Subproject commit 20a93889a18d1c061e56e715094234fa0c1bdd21

View File

@ -1,5 +1,4 @@
import warning from '../_util/warning'; import warning from '../_util/warning';
import Base from '../base';
const Icon = { const Icon = {
name: 'AIcon', name: 'AIcon',
@ -10,9 +9,8 @@ const Icon = {
}; };
/* istanbul ignore next */ /* istanbul ignore next */
Icon.install = function(Vue) { Icon.install = function(app) {
Vue.use(Base); app.component(Icon.name, Icon);
Vue.component(Icon.name, Icon);
}; };
export default Icon; export default Icon;

View File

@ -1,6 +1,4 @@
const NoFound = { const NoFound = () => {
functional: true,
render() {
return ( return (
<svg width="252" height="294"> <svg width="252" height="294">
<defs> <defs>
@ -286,7 +284,6 @@ const NoFound = {
</g> </g>
</svg> </svg>
); );
},
}; };
export default NoFound; export default NoFound;

View File

@ -1,6 +1,4 @@
const ServerError = { const ServerError = () => {
functional: true,
render() {
return ( return (
<svg width="254" height="294"> <svg width="254" height="294">
<defs> <defs>
@ -328,7 +326,6 @@ const ServerError = {
</g> </g>
</svg> </svg>
); );
},
}; };
export default ServerError; export default ServerError;

View File

@ -1,6 +1,4 @@
const Unauthorized = { const Unauthorized = () => {
functional: true,
render() {
return ( return (
<svg width="251" height="294"> <svg width="251" height="294">
<g fill="none" fillRule="evenodd"> <g fill="none" fillRule="evenodd">
@ -277,7 +275,6 @@ const Unauthorized = {
</g> </g>
</svg> </svg>
); );
},
}; };
export default Unauthorized; export default Unauthorized;

View File

@ -5,7 +5,7 @@
</div> </div>
</template> </template>
<script> <script>
import demo from '../antdv-demo/docs/menu/demo/inline'; import demo from '../antdv-demo/docs/result/demo/index';
export default { export default {
components: { components: {