change
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !index}" @tap="seachList">刷新</button>
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !index || !pkId}" @tap="_intoRegion">进入区域</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !index || !pkId}" @tap="_outRegion">退出区域</button>
|
||||
<button class="zd-col-7 button-primary" :class="{'button-info': !index}" @tap="_intoRegion">进入区域</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !index}" @tap="_outRegion">退出区域</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -149,7 +149,7 @@
|
||||
},
|
||||
async _intoRegion () {
|
||||
this.disabled = true
|
||||
if (!index || !pkId) {
|
||||
if (!index) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
@@ -174,7 +174,7 @@
|
||||
},
|
||||
async _outRegion () {
|
||||
this.disabled2 = true
|
||||
if (!index || !pkId) {
|
||||
if (!index) {
|
||||
this.disabled2 = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user