优化
This commit is contained in:
@@ -174,6 +174,7 @@ export default {
|
||||
} else {
|
||||
this.pageShow = true
|
||||
}
|
||||
document.title = !id ? '新建表单' : '编辑表单'
|
||||
this.init()
|
||||
uni.$on('setting', res => {
|
||||
this.form = {
|
||||
|
||||
@@ -158,6 +158,9 @@ export default {
|
||||
isShowAnswer: false
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
document.title = '表单项配置'
|
||||
},
|
||||
computed: {
|
||||
pointTypeName() {
|
||||
if (!this.config.pointDict) return ''
|
||||
|
||||
@@ -108,6 +108,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
document.title = '表单设置'
|
||||
if (this.id) {
|
||||
this.getInfo(this.id)
|
||||
} else this.getFormSetting()
|
||||
|
||||
@@ -100,6 +100,11 @@ export default {
|
||||
...params
|
||||
}
|
||||
},
|
||||
|
||||
mounted () {
|
||||
document.title = '表单预览'
|
||||
},
|
||||
|
||||
methods: {
|
||||
getInfo(id) {
|
||||
uni.showLoading()
|
||||
|
||||
Reference in New Issue
Block a user