mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-10 08:02:26 +01:00
fix(songs): change new Vue to createApp
This commit is contained in:
@ -64,17 +64,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
let manage_vue = new Vue({
|
let manage_vue = createApp({
|
||||||
el: '#request-table',
|
|
||||||
delimiters: ['${', '}$'],
|
delimiters: ['${', '}$'],
|
||||||
data: {
|
data() {
|
||||||
songs: [],
|
return {
|
||||||
total_songs: 0,
|
songs: [],
|
||||||
search_input: "",
|
total_songs: 0,
|
||||||
typing_timer: null,
|
search_input: "",
|
||||||
page_size: 10,
|
typing_timer: null,
|
||||||
page_number: 1,
|
page_size: 10,
|
||||||
user_data: null,
|
page_number: 1,
|
||||||
|
user_data: null,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
search_input: {
|
search_input: {
|
||||||
|
|||||||
Reference in New Issue
Block a user