dj_import_history_fe 点觉导入历史公共组件
如何使用?
安装命令
npm install dj_import_history --save
更新命令
npm update dj_import_history --save
vue使用示例
0. main.js引入
import DJIMPORTHISTORY from 'dj_import_history'
Vue.use(DJIMPORTHISTORY)
1.引用组件
<!-- 导入历史here -->
<import-history title="***组件标题(如运单导入历史)***" ref="importHistory"></import-history>
2.显示组件
this.$refs.importHistory.showModal(6 /* templateType */, 2 /* templateSubType */)