Skip to content

Commit 8d5d093

Browse files
authored
docs(grid): 简化基本用法示例中的状态管理,移除不必要的属性 (#3495)
1 parent 294601e commit 8d5d093

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

examples/sites/demos/pc/app/grid/base/basic-usage.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,7 @@ export default {
3939
{ company: 'SZB 有限责任公司', city: '深圳', employees: 1400, createdDate: '2016-06-03 13:53:25' }
4040
]
4141
return {
42-
server: new McpServer({ name: 'base-config', version: '1.0.0' }, {}),
43-
sessionID: '',
44-
tableData: _table,
45-
queryCity: '',
46-
options: Array.from(new Set(_table.map((item) => item.city))).map((city) => ({
47-
label: city,
48-
value: city
49-
}))
42+
tableData: _table
5043
}
5144
}
5245
}

0 commit comments

Comments
 (0)