mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-22 17:36:36 +08:00
feat: 完成webfirst 数据表管理前端模块
This commit is contained in:
@@ -1,12 +1,21 @@
|
||||
<template>
|
||||
<el-row>
|
||||
<el-col :span="4"> <TableList></TableList></el-col>
|
||||
<el-col :span="20"> <FieldList class="fileList"></FieldList></el-col>
|
||||
<el-col :span="4"> <TableList @selectTable="selectTable"></TableList></el-col>
|
||||
<el-col :span="20"> <FieldList class="fileList" :table="table"></FieldList></el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref ,watch} from 'vue'
|
||||
import FieldList from './components/FieldList.vue'
|
||||
import TableList from './components/TableList.vue'
|
||||
const table=ref({});
|
||||
const options = ref({})
|
||||
const selectTable=(table)=>{
|
||||
options.value = table
|
||||
}
|
||||
watch(() => options.value,val => {
|
||||
table.value = val
|
||||
},{deep:true})
|
||||
</script>
|
||||
<style scoped>
|
||||
.fileList{
|
||||
|
||||
Reference in New Issue
Block a user