1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <template>
- <div id="app">
- <router-view />
- </div>
- </template>
- <script>
- // import {
- // }
- import { getRebateOrderMsg } from "@/api/App";
- export default {
- name: "App",
- data() {
- return {};
- },
- watch: {
- // $route(route) {
- // let that = this.$notify;
- // let aa = function () {
- // let intivalId2 = setInterval(() => {
- // that.info({
- // title: "自定义位置",
- // message: "右下角弹出的消息",
- // position: "bottom-right",
- // duration: 0,
- // onClose() {
- // console.log("关闭回调");
- // clearInterval(intivalId2);
- // aa();
- // },
- // });
- // clearInterval(intivalId2);
- // }, 3000);
- // };
- // if (route.path == "/dashboard") {
- // console.log(32312312312);
- // // let res = await getRebateOrderMsg();
- // // console.log(res);
- // // let intivalId = setInterval(() => {
- // // this.$notify.info({
- // // title: "自定义位置",
- // // message: "右下角弹出的消息",
- // // position: "bottom-right",
- // // duration: 0,
- // // onClose() {
- // // console.log("关闭回调");
- // // console.log(that);
- // // clearInterval(intivalId);
- // // aa();
- // // },
- // // });
- // // clearInterval(intivalId);
- // // }, 3000);
- // } else {
- // // clearInterval(id);
- // }
- // },
- // immediate: true,
- },
- updated() {},
- methods: {},
- };
- </script>
|