恢复接口

This commit is contained in:
zhouyanli
2026-04-28 16:52:51 +08:00
parent fdc53b09bb
commit e3e74a1be0
15 changed files with 187 additions and 242 deletions

View File

@@ -56,7 +56,7 @@
<script setup>
import { ref } from 'vue'
import { onLoad ,onShow,onUnload} from '@dcloudio/uni-app'
// import { getNoticeList } from '../api/api.js'
import { getNoticeList } from '../api/api.js'
const noticeList = ref([])
const refreshing = ref(false)

View File

@@ -73,7 +73,7 @@
<script setup>
import { ref, onMounted } from 'vue'
import { onLoad, onShow } from '@dcloudio/uni-app'
// import {getNoticeDetails} from '../api/api.js'
import {getNoticeDetails} from '../api/api.js'
const isLoading = ref(false)
const noticeDetail = ref({})

View File

@@ -55,7 +55,7 @@
<script setup>
import { ref } from 'vue'
import {onLoad} from '@dcloudio/uni-app'
// import {getAccessDevices,getAccessOpen} from '../api/api.js'
import {getAccessDevices,getAccessOpen} from '../api/api.js'
// 响应式数据:选中的门索引、开门成功提示
const selectedDoor = ref(-1) // -1表示未选中

View File

@@ -93,7 +93,7 @@
<script setup>
import { ref, computed, onMounted, watch } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
// import { getVillageList, getVillageSwitch } from "../api/api.js"
import { getVillageList, getVillageSwitch } from "../api/api.js"
// 响应式数据
const searchText = ref('')