From d06b23c0601e17fb293bfb87cda15d105b80e13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Mon, 27 Dec 2021 17:35:48 +0800 Subject: [PATCH] css --- src/apps/AppWalkask/walkObject.vue | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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) {