Update LiveEditor
parent
e651adb9c6
commit
895cd5a92b
|
@ -453,9 +453,13 @@ img.flag {
|
|||
extDependencies['@fullcalendar/timegrid'] = "5.4.0";
|
||||
}
|
||||
|
||||
if(this.name === 'OrganizationChartDemo') {
|
||||
let mittComponents = ['OrganizationChartDemo', 'ConfirmDialogDemo', 'ConfirmPopupDemo'];
|
||||
|
||||
mittComponents.forEach(cmp => {
|
||||
if(this.name === cmp) {
|
||||
extDependencies['mitt'] = "^2.1.0";
|
||||
}
|
||||
});
|
||||
|
||||
return this.createSandboxParameters(`${name}${extension}`, _files, extDependencies);
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ export default class PhotoService {
|
|||
'ProductService': `
|
||||
import axios from 'axios';
|
||||
import productsSmallData from '../../public/data/products-small.json';
|
||||
import productsData from '../../public/data/productsjson';
|
||||
import productsData from '../../public/data/products.json';
|
||||
import productsWithOrdersSmallData from '../../public/data/products-orders-small.json';
|
||||
|
||||
export default class ProductService {
|
||||
|
@ -92,7 +92,7 @@ export default class ProductService {
|
|||
}
|
||||
|
||||
getProductsWithOrdersSmall() {
|
||||
return axios.get(productsWwithOrdersSmallData).then(res => res.config.url.data);
|
||||
return axios.get(productsWithOrdersSmallData).then(res => res.config.url.data);
|
||||
}
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue