diff --git a/src/views/error-log/errorTestA.vue b/src/views/error-log/components/ErrorTestA.vue similarity index 100% rename from src/views/error-log/errorTestA.vue rename to src/views/error-log/components/ErrorTestA.vue diff --git a/src/views/error-log/errorTestB.vue b/src/views/error-log/components/ErrorTestB.vue similarity index 100% rename from src/views/error-log/errorTestB.vue rename to src/views/error-log/components/ErrorTestB.vue diff --git a/src/views/error-log/index.vue b/src/views/error-log/index.vue index 8cbe18e2..a0be8fc0 100644 --- a/src/views/error-log/index.vue +++ b/src/views/error-log/index.vue @@ -1,7 +1,7 @@ <template> <div class="errPage-container"> - <errorA /> - <errorB /> + <ErrorA /> + <ErrorB /> <!-- $t is vue-i18n global function to translate lang --> <h3>{{ $t('errorLog.tips') }}</h3> <code> @@ -17,12 +17,12 @@ </template> <script> -import errorA from './errorTestA' -import errorB from './errorTestB' +import ErrorA from './components/ErrorTestA' +import ErrorB from './components/ErrorTestB' export default { name: 'ErrorLog', - components: { errorA, errorB } + components: { ErrorA, ErrorB } } </script>