mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-12 10:00:57 +08:00
返回取消sessionkey
This commit is contained in:
parent
9310b66372
commit
0f3b9efd64
@ -4,8 +4,7 @@
|
||||
<image :src="topImg" class="heard-location-icon"></image>
|
||||
</view>
|
||||
<view class="cu-list grid" :class="'col-2'">
|
||||
<view class="cu-item" @click="showOpenDoor(item);"
|
||||
v-for="(item,index) in machines" :key="index">
|
||||
<view class="cu-item" @click="showOpenDoor(item);" v-for="(item,index) in machines" :key="index">
|
||||
<view :class="['cuIcon-command','text-red']"></view>
|
||||
<text>{{item.machineName}}</text>
|
||||
</view>
|
||||
@ -33,8 +32,16 @@
|
||||
|
||||
<script>
|
||||
import noDataPage from '@/components/no-data-page/no-data-page.vue';
|
||||
import {listOwnerMachines,openDoor} from '../../api/applicationKey/applicationKeyApi.js'
|
||||
import {getCurOwner} from '../../api/owner/ownerApi.js'
|
||||
import {
|
||||
listOwnerMachines,
|
||||
openDoor
|
||||
} from '../../api/applicationKey/applicationKeyApi.js'
|
||||
import {
|
||||
getCurOwner
|
||||
} from '../../api/owner/ownerApi.js';
|
||||
import {
|
||||
autoLogin
|
||||
} from '../../api/user/sessionApi.js';
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@ -55,6 +62,7 @@
|
||||
*/
|
||||
onLoad: function(options) {
|
||||
this.vc.onLoad(options);
|
||||
autoLogin(options);
|
||||
this.loadOwnerMachines();
|
||||
},
|
||||
|
||||
@ -132,6 +140,7 @@
|
||||
width: 100%;
|
||||
height: 300rpx;
|
||||
}
|
||||
|
||||
text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user