diff --git a/src/apps/AppWalkask/walkObject.vue b/src/apps/AppWalkask/walkObject.vue index c9b093bd..8cb40603 100644 --- a/src/apps/AppWalkask/walkObject.vue +++ b/src/apps/AppWalkask/walkObject.vue @@ -39,6 +39,16 @@
确定选择
+ + @@ -70,8 +80,15 @@ export default { appId: '', value: '', menuLevel3Name: '', + num: 1, + flag: false, } }, + watch: { + num(e, a) { + console.log(e, a) + }, + }, computed: {}, created() { console.log(1) @@ -82,6 +99,20 @@ export default { }, mounted() {}, methods: { + showDiv() { + this.num = this.num + 1 + this.$forceUpdate() + if (this.num % 2 == 0) { + console.log('偶数') + this.flag == true + this.$forceUpdate() + } else { + console.log('奇数') + this.flag == false + this.$forceUpdate() + } + }, + getDiyList() { this.$http.post('/app/appapplicationinfo/queryApplicationListByType?type=0').then((res) => { if (res.code == 0) {