修改教师管理和试卷管理逻辑,优化手机端样式
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import cityList from '@/utils/city.json';
|
||||
const custom = {
|
||||
getStdSubject: (data) => { // 获取标准类型格式
|
||||
let arr= []
|
||||
@@ -61,6 +62,11 @@ const custom = {
|
||||
break;
|
||||
}
|
||||
return name
|
||||
},
|
||||
getProvinceName(province) {
|
||||
if(province < 0 || !province) return ''
|
||||
return cityList[province].name
|
||||
}
|
||||
|
||||
}
|
||||
export default custom
|
||||
|
Reference in New Issue
Block a user