/** @jsx h */ // AUTO-GENERATED by export-examples-tsx —— 由同名 .vpproj.json 导出的 VP-TSX 配对视图(已回编译等值验证)。 // 修改请改 JSON 后重跑导出脚本,或改本文件后用 compile.mts 重编 JSON——保持两者一致。 import { defineProject, h } from '../scripts/vptsx/runtime' export default defineProject({ name: "选中传递示例", connections: [ { "uid": "conn_city", "name": "城市明细", "type": "json", "connectorType": "json", "config": { "copyToRoot": true, "fileName": "" }, "tables": [ { "uid": "tbl_city", "name": "城市明细", "fields": [ { "uid": "城市", "alias": "城市", "type": "string" }, { "uid": "数量", "alias": "数量", "type": "number" }, { "uid": "负责人", "alias": "负责人", "type": "string" } ] } ] } ], connectionData: { "conn_city": [ { "tableId": "tbl_city", "tableName": "城市明细", "fields": [ { "uid": "城市", "alias": "城市", "type": "string" }, { "uid": "数量", "alias": "数量", "type": "number" }, { "uid": "负责人", "alias": "负责人", "type": "string" } ], "rows": [ { "城市": "北京", "数量": 320, "负责人": "张伟" }, { "城市": "上海", "数量": 280, "负责人": "李娜" }, { "城市": "杭州", "数量": 210, "负责人": "王芳" }, { "城市": "成都", "数量": 175, "负责人": "刘洋" } ] } ] }, screen: ( ), })