|
@@ -73,6 +73,7 @@ export default defineComponent({
|
|
|
},
|
|
|
|
|
|
setup(props) {
|
|
|
+ console.log(1);
|
|
|
const state = reactive({
|
|
|
isShowflag: true,
|
|
|
rangePick: picker,
|
|
@@ -101,11 +102,14 @@ export default defineComponent({
|
|
|
state.loading = false;
|
|
|
}
|
|
|
};
|
|
|
+
|
|
|
+ state.list.appflag = props.Logappflag as string;
|
|
|
+ getLogOrangeList();
|
|
|
//初始化
|
|
|
|
|
|
onMounted(() => {
|
|
|
// state.list.appflag = props.Logappflag as string;
|
|
|
- console.log(1);
|
|
|
+ console.log("onMounted");
|
|
|
// getLogOrangeList();
|
|
|
test();
|
|
|
});
|
|
@@ -166,10 +170,14 @@ export default defineComponent({
|
|
|
getLogOrangeList,
|
|
|
};
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.list.appflag = this.$props.Logappflag as string;
|
|
|
- this.getLogOrangeList();
|
|
|
- },
|
|
|
+ // created() {
|
|
|
+ // console.log("created");
|
|
|
+ // this.list.appflag = this.$props.Logappflag as string;
|
|
|
+ // this.getLogOrangeList();
|
|
|
+ // },
|
|
|
+ // mounted() {
|
|
|
+ // console.log("mounted");
|
|
|
+ // },
|
|
|
});
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|