Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -39,6 +39,16 @@
|
||||
|
||||
<div class="subBtn" @click="submit">确定选择</div>
|
||||
</div>
|
||||
|
||||
<!-- <div style="padding: 0 20px">
|
||||
<div style="display: flex; justify-content: space-between; background: pink; padding: 10px 0" @click="showDiv">
|
||||
<span>残疾人</span>
|
||||
<u-icon name="arrow-right"></u-icon>
|
||||
</div>
|
||||
<div v-if="this.num % 2 == 0">
|
||||
<div>1111</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user