Hello, i have some build app issues and need your help.
I want to create a dynamic page and I have a template page like this:
<template>
<div class="page">
<div class="navbar">
<div class="navbar-inner sliding">
<div class="title">Virtual List VDOM</div>
</div>
</div>
<div class="page-content">
...
<!--some template7 things-->
</div>
</div>
</template>
<script>
return {
data: function() {
....
}
on: {
pageInit: function() {
var self = this;
....
self.$setState({
....
});
...
}
}
</script>
But when I run the application build, Cmd reports an error like the following figure:
I am sure that I dont have syntax mistake. Do you have any ideas to fix this problem?
Thank you.