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 Base from '../base';
const Icon = {
name: 'AIcon',
@ -10,9 +9,8 @@ const Icon = {
};
/* istanbul ignore next */
Icon.install = function(Vue) {
Vue.use(Base);
Vue.component(Icon.name, Icon);
Icon.install = function(app) {
app.component(Icon.name, Icon);
};
export default Icon;

View File

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

View File

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

View File

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

View File

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