|
@@ -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];
|