中控室
This commit is contained in:
parent
cc6b443275
commit
a53318fdb2
|
|
@ -2,7 +2,7 @@
|
||||||
<view class="right-top">
|
<view class="right-top">
|
||||||
<scroll-view class="top-list" scroll-y>
|
<scroll-view class="top-list" scroll-y>
|
||||||
<view class="list-view"
|
<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="">
|
<view class="">
|
||||||
{{ item.directiveName }}
|
{{ item.directiveName }}
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -21,7 +21,13 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch } from 'vue';
|
||||||
|
|
||||||
|
const array = ref([]);
|
||||||
|
|
||||||
|
onMounted(()=>{
|
||||||
|
array.value = uni.getStorageSync('NUall').elderServerEntityList || []
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue