调整错误

This commit is contained in:
aixianling
2021-11-23 17:16:13 +08:00
parent fd8234cc87
commit f63ace3b70
4 changed files with 620 additions and 620 deletions

View File

@@ -11,30 +11,30 @@
<script>
import AddList from './AddList.vue'
import List from './List.vue'
import AiTabbar from '@/components/AiTabbar'
import AiTabbar from "../../../components/AiTabbar";
export default {
name: 'AppAskForm',
appName: '问卷表单',
data () {
data() {
return {
currIndex: 0
}
},
components: {
AddList,
AiTabbar,
AddList,
List
},
computed: {
tabBar () {
tabBar() {
const link = icon => `${this.$cdn}askform/${icon}.png`
return [
{text: "表单列表", iconPath: "bdlb1", selectedIconPath: "bdlb2" },
{text: "新建项目", iconPath: "xjxm1", selectedIconPath: "xjxm2" }
{text: "表单列表", iconPath: "bdlb1", selectedIconPath: "bdlb2"},
{text: "新建项目", iconPath: "xjxm1", selectedIconPath: "xjxm2"}
].map(e => ({
...e,
iconPath: link(e.iconPath),
@@ -43,7 +43,7 @@ export default {
}
},
onLoad () {
onLoad() {
uni.$on('reload', () => {
if (this.currIndex === 0) {
this.$refs.list.reload()
@@ -54,7 +54,7 @@ export default {
},
methods: {
onChange (e) {
onChange(e) {
this.$emit('change', e)
}
},
@@ -68,7 +68,7 @@ export default {
</script>
<style lang="scss" scoped>
.form {
padding-bottom: 98px;
}
.form {
padding-bottom: 98px;
}
</style>