Skip to content

Commit

Permalink
#269 remove some codes of editing KVPs
Browse files Browse the repository at this point in the history
  • Loading branch information
qifeng-bai committed Sep 20, 2023
1 parent 3840a14 commit 5597779
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions grails-app/views/speciesListItem/list.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,6 @@
</tr>
</thead>
<tbody>
%{-- <div v-scope="SpeciesList(JSON.parse('${json_results}'))" @vue:mounted="mounted"></div>--}%
<g:each var="result" in="${results}" status="i">
<g:set var="recId" value="${result.id}"/>
Expand Down Expand Up @@ -1184,31 +1183,6 @@
});
</asset:script>
<script type="module">
import { createApp } from 'https://unpkg.com/petite-vue?module'
function SpeciesList(data) {
return {
$template: '#display-species-list',
speciesList: data,
mounted() {
},
click() {
alert("i am vue")
},
save() {
alert("saved")
}
}
}
createApp({
SpeciesList
}).mount()
</script>
<template id="display-species-list">
<table>
Expand Down

0 comments on commit 5597779

Please sign in to comment.