中控室
This commit is contained in:
parent
cc6b443275
commit
a53318fdb2
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue