调整错误
This commit is contained in:
		@@ -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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user