## 1.首先在store文件夹对应的位置加上接口,可以新建
```
async getFindJudgeGrade({commit}) {
return this.$axios.get(`${WATCH_URL}/basicSetting/findJudgeGrade`).then((res) => {
commit('SET_FIND_JUDGE_GRADE', res.data);
});
}
```
![](https://img.kancloud.cn/c0/0c/c00c39d0e37fc754a242b2eb4d566369_881x828.PNG)
2.在.vue文件里
```
// 行内编辑
{ { scope.row.description }}
name="isEdit"
ref="editInput"
v-model="scope.row.description"
size="small"
@blur="editValue(scope.row, 'nameEdit')"
@keyup.enter.native="scope.row.nameEdit = false" />
```
```
import { mapActions, mapState } from 'vu