This commit is contained in:
yanran200730
2022-10-21 10:41:04 +08:00
parent ec1860cece
commit 3f49a771c5
5 changed files with 545 additions and 142 deletions

View File

@@ -7,9 +7,9 @@
</template>
<script>
import Add from './components/Add'
import List from './components/List'
import Detail from './components/Detail'
import FormDetail from './components/FormDetail'
export default {
name: 'AppRatingTask',
@@ -31,7 +31,7 @@
components: {
Detail,
List,
Add
FormDetail
},
methods: {
@@ -41,8 +41,8 @@
this.params = data.params
}
if (data.type === 'Add') {
this.component = 'Add'
if (data.type === 'FormDetail') {
this.component = 'FormDetail'
this.params = data.params
}