vue2 通用模版

<template>
  <div class="content-container">
    2
  </div>
</template>

<script>
import call from '@/store/module/call'
import { rules, validatePass } from '@/views/business/config'
import { mapState, mapActions } from 'vuex'
export default {
  components: { customField },
  props: {
    objectCode: {
      type: String,
      default: ''
    },
  },
  data() {
    return {

    }
  },
  computed: {
    enableInstance() { return true },
    ...mapState({
      userInfo: (state) => state.user.userInfo
    })
  },
  watch: {
    fieldsList: {
      handler(newVal) {
        console.log(newVal)
      },
      deep: true,
      immediate: true
    },
  },
  mounted() {},
  methods: {}
}
</script>
<style lang="scss" scoped>
// @import '../style/condition.scss';
</style>

你可能感兴趣的:(前端,javascript,vue.js)