@tmesoft/data-screen-show 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,12 @@
1
+ 项目使用npm下载,npm i
2
+ 运行环境 node:18.17.1,npm:9.6.7 。其他版本未尝试
3
+ 发布步骤:
4
+ 1. 打包npm: run build
5
+ 2. 切换到npmjs源:npm config set registry https://registry.npmjs.org/
6
+ 3. 登录npm: npm login
7
+ 4. 发布到npm: npm run publish
8
+
9
+
1
10
  # data-screen-show
2
11
  ## 如何使用
3
12
  目前用于ilim、rlim、hps-102d数据大屏项目,用于大屏显示
@@ -5,6 +14,7 @@
5
14
 
6
15
  ## demo
7
16
  ```vue
17
+ <!--src/view/index.vue文件-->
8
18
  <!--ts-->
9
19
  // 传入标题信息
10
20
  // 大屏主标题
@@ -320,14 +330,14 @@ const EscreenDataCardAllId = ref<any>({
320
330
 
321
331
  ## 方法
322
332
 
323
- | Name | Description | type | default |
324
- |--------------|-------------|-------------------------------|---------|
325
- | setJSON | 设置所有数据卡 | | {'师资队伍': 1,} |
333
+ | Name | Description | type | default |
334
+ |--------------|--------------|-------------------------------|---------|
335
+ | setJSON | 设置所有可能显示的数据卡 | | {'师资队伍': 1,} |
326
336
  ## 传值
327
337
 
328
- | Name | Description | type | default |
329
- |-----------|--------------|--------|---------|
330
- | pageTitle | 标题 | string | ‘’ |
331
- | subTitle | 副标题标题 | string | ‘’ |
332
- | dataCardIdListIds | 需要显示的数据卡id集合 | string | ‘’ |
333
- | customCardList | 自定义卡数据 | CustomListPage[] | [] |
338
+ | Name | Description | type | default |
339
+ |-----------|-----------------|--------|---------|
340
+ | pageTitle | 标题 | string | ‘’ |
341
+ | subTitle | 副标题标题 | string | ‘’ |
342
+ | dataCardIdListIds | 需要显示在页面的数据卡id集合 | string | ‘’ |
343
+ | customCardList | 自定义卡数据列表 | CustomListPage[] | [] |
@@ -22,7 +22,6 @@ type: PropType_2<CustomListPage[]>;
22
22
  default: () => never[];
23
23
  };
24
24
  }>, {
25
- chartResize: () => void;
26
25
  setDataCardJson: (_dataCardJson: any) => void;
27
26
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<globalThis.ExtractPropTypes<{
28
27
  subTitle: {