28 lines
705 B
Vue
28 lines
705 B
Vue
|
<template>
|
||
|
<el-dialog title="查看属性" :close-on-click-modal="false" :visible.sync="addData.dialog" width="1400px">
|
||
|
<cb-smart-table :data="addData.data">
|
||
|
<el-table-column label="属性" prop="name"></el-table-column>
|
||
|
<el-table-column label="值" prop="propertyValue"></el-table-column>
|
||
|
</cb-smart-table>
|
||
|
<div slot="footer" class="dialog-footer">
|
||
|
<el-button type="ghost" @click.native="addData.dialog = false">关闭</el-button>
|
||
|
</div>
|
||
|
</el-dialog>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import { defineComponent } from 'vue'
|
||
|
export default defineComponent({
|
||
|
props: {
|
||
|
addData: {
|
||
|
type: Object,
|
||
|
default: () => {}
|
||
|
}
|
||
|
}
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
|
||
|
</style>
|