Skip to content

Commit 9575eb7

Browse files
committed
gpt gen3
1 parent a73f8a3 commit 9575eb7

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Diff for: index.html

+3-8
Original file line numberDiff line numberDiff line change
@@ -251,17 +251,14 @@
251251
</div>
252252

253253
<script>
254-
import { ref, onMounted } from 'vue';
255254
const tbl = Vue.createApp({
256255
data() {
257256
return {
258-
tbl_array: ref([])
257+
tbl_array: []
259258
}
260259
},
261260
mounted() {
262-
onMounted(() => {
263-
this.tbl_array = apiArray;
264-
});
261+
this.tbl_array = apiArray;
265262
},
266263
methods: {
267264
mouseover(i) {
@@ -271,9 +268,7 @@
271268
clearMap_Point();
272269
}
273270
}
274-
});
275-
276-
tbl.mount('#tbl');
271+
}).mount('#app');
277272

278273
</script>
279274

0 commit comments

Comments
 (0)