0.2.0 • Published 9 months ago
@hsdata/warrenq-report-new v0.2.0
研报组件说明文档
微服务相关信息
列出依赖哪些微服务,可以通过配置参数去掉哪些引入的微服务内容。
组件功能清单
看研报
组件具体使用说明
使用说明
注:npm 公库
使用方法
<template>
<reportModule />
</template>
<script>
import { reportModule, reportConfig, tokenConfig, apiBaseConfig, bus } from '@hsdata/warrenq-report-new'
export default {
components: {
reportModule
},
data() {
return {
...
}
},
created(){
// 需要传的一些配置项,以下是一些默认值
reportConfig({
}),
tokenConfig(this.getToken), // 外部配置 token
apiBaseConfig(''), // 外部配置 baseUrl(不包含ip)
bus.$on('global-module-change-report', this.openRead)
},
beforeDestroy(){
bus.$off("global-module-change-report", this.openRead)
},
methods: {
openRead(obj) {
// 阅读器预览
// obj: {
// reportType: 1,
// reportItem: item,
// }
},
// 获取token函数
getToken(){
……
return 'token'
}
}
}
</script>
0.1.0
10 months ago
0.2.0
9 months ago
0.0.20
12 months ago
0.0.21
12 months ago
0.0.22
12 months ago
0.0.23
11 months ago
0.0.24
11 months ago
0.0.25
11 months ago
0.0.19
12 months ago
0.0.26
11 months ago
0.0.27
11 months ago
0.0.18
1 year ago
0.0.17
1 year ago
0.0.16
1 year ago
0.0.15
1 year ago
0.0.14
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago