src/view/index.vue
@@ -394,6 +394,7 @@ </span> </el-dialog> <notice ref="notice" @goNoticeDetail="checkForUnreadData()" /> <timer></timer> </div> </template> @@ -411,9 +412,10 @@ import menus from '../../static/js/menu.js' import nullFace from '../view/404.vue' import notice from './notice.vue' import timer from './timer.vue'; comObj['nullFace'] = nullFace export default { components: {...comObj,notice}, components: {...comObj,notice,timer}, data() { return { userName: "value",