first
This commit is contained in:
26
pages/list/render/Example.vue
Normal file
26
pages/list/render/Example.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<!--
|
||||
|
||||
订单列表页面, 数据渲染
|
||||
业务: 示例模板
|
||||
|
||||
@author terrfly
|
||||
@site https://www.jeequan.com
|
||||
@date 2022/11/23 16:57
|
||||
-->
|
||||
<template>
|
||||
<view>{{ props.record }}</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref } from "vue"
|
||||
|
||||
// 定义传入属性
|
||||
const props = defineProps({
|
||||
record: {type:Object, default: () => {}}, // 渲染对象
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user