Szx 3 years ago
parent
commit
bfbe65c33a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/account/orangelog.vue

+ 4 - 0
src/views/account/orangelog.vue

@@ -105,12 +105,16 @@ export default defineComponent({
       state.list.appflag = props.Logappflag as string;
       console.log(1)
       getLogOrangeList();
+      test()
     });
     //监听传过来的值appflag
     watch(props, () => {
       state.list.appflag = props.Logappflag as string;
       getLogOrangeList();
     });
+    const test =()=>{
+      console.log('test函数执行了')
+    }
     const changeTime = (time: string, stringtime: string) => {
       state.list.start_time = stringtime[0];
       state.list.end_time = stringtime[1];