表单
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user