## 頁面data和prop變量,函數定義規則
* 變量和函數名定義規則全部采用“小駝峰命名法”
~~~
例:myStudentCount:變量myStudentCount第一個單詞是全部小寫,后面的單詞首字母大寫。
~~~
* 給this起臨時變量規則如下
```
let _this = this
```
## 所有接口失敗返回信息全部調用
```
this.$Message.error('This is an error tip');
```
## 注釋說明
* 函數采用多行注釋
~~~
/* 返回列表數據 */
~~~
或者
~~~
/**
* 獲取用戶信息
* @param row
*/
~~~
* 變量和其他采用單行注釋
~~~
// 搜索
~~~
## 組件選項的順序
組件選項應該有統一的順序。
~~~
export default {
name: '',
mixins: [],
components: {},
props: {},
data () {},
computed: {},
watch: {},
created () {},
mounted () {},
destroyed () {},
methods: {}
}
~~~