Skip to content

Commit 057ed07

Browse files
committed
files - fix
1 parent de6d36a commit 057ed07

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

src/crud/components/ItemDetails.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ export default {
507507
let formData = new FormData();
508508
formData.append("file", file);
509509
formData.append("module", this.prefix);
510-
formData.append("folder", this.path);
510+
formData.append("table", this.path);
511+
formData.append("field", field.column);
511512
this.$http.post(this.uploadPath, formData, {}).then(response => {
512513
field.value = JSON.stringify({
513514
filename: file.name,
-158 Bytes
Loading
23 Bytes
Loading

templates/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7-
<link rel="icon" href="favicon.png">
7+
<link rel="shortcut icon" type="image/png" href="favicon.png">
88
<title>vue-crud</title>
99
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">

0 commit comments

Comments
 (0)