9 changed files with 1816 additions and 7 deletions
@ -0,0 +1,26 @@ |
|||||
|
import { seriesLoadScripts, loadLinks, $$ } from '../../utils/util' |
||||
|
|
||||
|
|
||||
|
// Dynamically load dependent scripts and styles
|
||||
|
const dependScripts = [ |
||||
|
// 'expendPlugins/chart/chartmix.umd.min.js',
|
||||
|
'http://localhost:8080/luckysheetPluginPrint.umd.js', |
||||
|
] |
||||
|
|
||||
|
const dependLinks = [ |
||||
|
// 'expendPlugins/chart/chartmix.css',
|
||||
|
'http://localhost:8080/luckysheetPluginPrint.css', |
||||
|
] |
||||
|
|
||||
|
// Initialize the chart component
|
||||
|
function print(data, isDemo) { |
||||
|
loadLinks(dependLinks); |
||||
|
|
||||
|
seriesLoadScripts(dependScripts, null, function () { |
||||
|
|
||||
|
}); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
export { print } |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue