Vue2 使用全局常量,报错未定义

定义全局常量,使用上在methods中的方法里打印,是正确的。但我想用这个常量当作el-option的选项时,在data方法中使用this.this.global.useOptions 报错未定义。

<template>
  <div>
    <el-button type="primary" @click="click">点击</el-button>
    <el-form :model="form" label-width="80px">
      <el-form-item label="用途">
        <el-select v-model="formModel.useOption" placeholder="用途">
          <el-option
            v-for="item in useOptions"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    formModel = {
      useOption:"1"
    }
    useOptions = this.global.useOptions
    return {
      useOptions,
    }
  },
  methods: {
    click(){
      console.log(this.global.useOptions)
    }
  },
}
</script>


data() {
    const formModel = {
      useOption: '2',
    }
    const useOptions = this.global.useOptions
    return {
      useOptions,
      formModel
    }
  }

在入口文件main.js中定义vue属性值:

let a = {
    b:'bbb',
    c:'ccc'
}
Vue.prototype.$a = a;

在任何组件中引用:
this.$a...