Skip to content

Commit 72cd401

Browse files
committed
modularized the client-side handlers
1 parent 8278b14 commit 72cd401

File tree

7 files changed

+632
-448
lines changed

7 files changed

+632
-448
lines changed

[object Promise].vue

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<template>
2+
<div>
3+
<div></div>
4+
<button></button>
5+
<form></form>
6+
</div>
7+
</template>
8+
9+
<script>
10+
11+
export default {
12+
name: 'parents',
13+
components: {
14+
},
15+
data () {
16+
return {
17+
}
18+
},
19+
};
20+
</script>
21+
22+
<style scoped>
23+
</style >

src-electron/electron-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ipcMain.handle("exportProject", async (event, options) => {
9999
return { filePath };
100100
});
101101

102-
ipcMain.handle("useExportComponent", async (event, options) => {
102+
ipcMain.handle("exportComponent", async (event, options) => {
103103
const { dialog } = require("electron");
104104
const { filePath } = await dialog.showSaveDialog(options);
105105
if (filePath === "") {

src/components/Canvas.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@
374374
<q-icon color="primary" name="edit_note" />
375375
</q-item-section>
376376
</q-item>
377-
<q-item
377+
<!-- export requires an updated function -->
378+
<!-- <q-item
378379
clickable
379380
v-ripple
380381
v-close-popup
@@ -384,7 +385,7 @@
384385
<q-item-section avatar>
385386
<q-icon color="primary" name="upload" />
386387
</q-item-section>
387-
</q-item>
388+
</q-item> -->
388389
<q-item clickable v-ripple v-close-popup @click="handleEditColor">
389390
<q-item-section>Edit Color</q-item-section>
390391
<q-item-section avatar>

0 commit comments

Comments
 (0)