Skip to content

Commit aea6b78

Browse files
【update】 修改属性表例子配置 review by songym
1 parent 19a4ab8 commit aea6b78

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

examples/component/components_attributes_vue.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<body style="margin: 0; overflow: hidden; background: #fff; width: 100%; height: 100%; position: absolute; top: 0">
2121
<div id="main">
2222
<sm-web-map style="height: 500px" server-url="https://www.supermapol.com/" map-id="505367620"></sm-web-map>
23-
<div style="position: relative; height: 400px; width: 100%">
24-
<sm-attributes layer-name="全国671个气象站观测数据" :field-configs="fieldConfigs"></sm-attributes>
23+
<div style="position: relative; height: 500px; width: 100%">
24+
<sm-attributes :table="table" layer-name="全国671个气象站观测数据" :field-configs="fieldConfigs"></sm-attributes>
2525
</div>
2626
</div>
2727

@@ -63,10 +63,15 @@
6363
{ value: '年均降雨_Num', visible: false },
6464
{ value: 'lon', visible: true, title: '经度', width: 250 },
6565
{ value: 'lat', visible: true, title: '纬度', width: 250 }
66-
]
66+
],
67+
table: {
68+
pagination: {
69+
pageSize: 10
70+
}
71+
}
6772
};
6873
}
6974
});
7075
</script>
7176
</body>
72-
</html>
77+
</html>

examples/mapboxgl/config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,13 +1298,13 @@ var exampleConfig = {
12981298
}
12991299
},
13001300
machineLearning: {
1301-
name: '机器学习',
1302-
name_en: 'Machine Learning',
1301+
name: 'WebAI影像分析',
1302+
name_en: 'WebAI Image Analysis',
13031303
content: {
13041304
machineLearning: {
1305-
name: '机器学习',
1305+
name: 'WebAI影像分析',
13061306
version: '10.1.3',
1307-
name_en: 'Machine Learning',
1307+
name_en: 'WebAI Image Analysis',
13081308
content: [
13091309
{
13101310
name: '二元分类',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy