Browse Source

Test-Methode

pull/1/head
Xenia Grünzinger 6 years ago
parent
commit
129496a13f
3 changed files with 8 additions and 0 deletions
  1. 1
    0
      public/createMessage.js
  2. 1
    0
      public/files.js
  3. 6
    0
      public/home.js

+ 1
- 0
public/createMessage.js View File

@@ -28,6 +28,7 @@ const CreateMsgRouter = {
</div>
`,
data: function () {
return {};
},
methods: {
},

+ 1
- 0
public/files.js View File

@@ -9,6 +9,7 @@ const FileRouter = {
</div>
`,
data: function () {
return {};
},
methods: {
},

+ 6
- 0
public/home.js View File

@@ -11,5 +11,11 @@ const HomeRouter = {
return { messages: _messages };
},
methods: {
refresh_messages: function () {
_messages.push ({id: 42, subject: "xxx", message: "warum habt ihr auch so viel", user: "nobody", tags:"foo"});
},
},
/*mounted: function() {
this.refresh_messages();
}*/
};

Loading…
Cancel
Save