中控室

This commit is contained in:
Teng 2025-12-30 14:30:48 +08:00
parent cc6b443275
commit a53318fdb2
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<view class="right-top">
<scroll-view class="top-list" scroll-y>
<view class="list-view"
v-for="(item,index) in uni.getStorageSync('NUall').elderServerEntityList || []" :key="index" >
v-for="(item,index) in array" :key="index" >
<view class="">
{{ item.directiveName }}
</view>
@ -21,7 +21,13 @@
</template>
<script setup>
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch } from 'vue';
const array = ref([]);
onMounted(()=>{
array.value = uni.getStorageSync('NUall').elderServerEntityList || []
})
</script>
<style scoped lang="less">