dashboard
repositories
filestore
activity
search
login
刘文浩
/
nsjcy
forked from
nsjcy/frontEnd/nsjcy
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
问卷管理模块(新建、列表、详情)
LAPTOP-RI7D261L\Mr Ke
2020-02-26
8f619dde9e2382fc8a4f1e04fafde1418f06165b
[~liuwh/nsjcy.git]
/
SunshineIns
/
src
/
fetch
/
questionFindById.js
1
2
3
4
5
6
7
8
9
import fetch from './_fetch';
import { message } from 'antd';
export default (id) => fetch(`api/question/find/${id}`)
.then(
json => json.data
)
.catch(
error => message.error('详情加载失败,请联系管理员', 2)
);