|
|
@@ -84,7 +84,7 @@
|
|
|
|
|
|
//获取详情数据
|
|
|
const getDetail = (id) => {
|
|
|
- if (!props.baseUrl.detail) return;
|
|
|
+ if (!props.baseUrl.detail || !id) return;
|
|
|
let url = `${props.baseUrl.detail}/${id}`;
|
|
|
return new Promise((resolve, reject) => {
|
|
|
proxy.$http.get(url).then((res) => {
|