Skip to content

Commit 5597779

Browse files
committed
#269 remove some codes of editing KVPs
1 parent 3840a14 commit 5597779

File tree

1 file changed

+0
-26
lines changed
  • grails-app/views/speciesListItem

1 file changed

+0
-26
lines changed

grails-app/views/speciesListItem/list.gsp

-26
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,6 @@
990990
</tr>
991991
</thead>
992992
<tbody>
993-
%{-- <div v-scope="SpeciesList(JSON.parse('${json_results}'))" @vue:mounted="mounted"></div>--}%
994993
995994
<g:each var="result" in="${results}" status="i">
996995
<g:set var="recId" value="${result.id}"/>
@@ -1184,31 +1183,6 @@
11841183
});
11851184
</asset:script>
11861185
1187-
<script type="module">
1188-
import { createApp } from 'https://unpkg.com/petite-vue?module'
1189-
function SpeciesList(data) {
1190-
return {
1191-
$template: '#display-species-list',
1192-
speciesList: data,
1193-
mounted() {
1194-
1195-
},
1196-
1197-
click() {
1198-
alert("i am vue")
1199-
},
1200-
1201-
save() {
1202-
alert("saved")
1203-
}
1204-
1205-
}
1206-
}
1207-
1208-
createApp({
1209-
SpeciesList
1210-
}).mount()
1211-
</script>
12121186
<template id="display-species-list">
12131187
12141188
<table>

0 commit comments

Comments
 (0)