Skip to content

Commit 52015a5

Browse files
committed
deleted console, and extra </script>
1 parent fb0bd3d commit 52015a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/composables/useExportComponent.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,6 @@ export function useExportComponent() {
247247
let htmlArray = this.componentMap[componentName].htmlList;
248248
let styleString = "";
249249

250-
console.log(this.componentMap[componentName])
251250
if(this.componentMap[componentName].htmlAttributes.class !== "") {
252251
styleString += `.${this.componentMap[componentName].htmlAttributes.class} {\nbackground-color: ${this.componentMap[componentName].color};
253252
width: ${this.componentMap[componentName].w}px;
@@ -264,7 +263,7 @@ export function useExportComponent() {
264263
}
265264
}
266265

267-
return `\n <\/script>\n\n<style scoped>\n${styleString}</style >`;
266+
return `\n\n<style scoped>\n${styleString}</style >`;
268267
}
269268

270269
const exportComponentFile = (data) => {

0 commit comments

Comments
 (0)