pukaad-ui-lib 1.280.0 → 1.281.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
/>
|
|
35
35
|
|
|
36
36
|
<!-- <InputCheckbox
|
|
37
|
-
name="disableComment"
|
|
37
|
+
name="disableComment"
|
|
38
38
|
label="ไม่อนุญาตให้แสดงความคิดเห็น"
|
|
39
39
|
v-model="form.disableComment"
|
|
40
40
|
/> -->
|
|
@@ -188,7 +188,7 @@ const onSaveDraft = async () => {
|
|
|
188
188
|
const store = tx.objectStore("blogDrafts");
|
|
189
189
|
store.put(draftData);
|
|
190
190
|
tx.oncomplete = () => {
|
|
191
|
-
$toast.success("\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E23\u0E48\u0E32\u0E07\
|
|
191
|
+
$toast.success("\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E23\u0E48\u0E32\u0E07\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 !");
|
|
192
192
|
emit("saveDraft", form.value);
|
|
193
193
|
isOpen.value = false;
|
|
194
194
|
};
|
|
@@ -233,7 +233,6 @@ const uploadImage = async (file) => {
|
|
|
233
233
|
throw new Error("\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E2A\u0E23\u0E49\u0E32\u0E07 upload URL \u0E44\u0E14\u0E49");
|
|
234
234
|
}
|
|
235
235
|
const item = res.data.items[0];
|
|
236
|
-
console.log("Uploading to S3:", item.upload_url);
|
|
237
236
|
await fetch(item.upload_url, {
|
|
238
237
|
method: "PUT",
|
|
239
238
|
body: file,
|