added type
This commit is contained in:
parent
c5839238f1
commit
2445a742b7
|
@ -13,6 +13,7 @@ export function get (url) {
|
|||
url: url,
|
||||
dataType: 'json',
|
||||
timeout: GET_TIMEOUT,
|
||||
type: 'GET',
|
||||
success: (response) => {
|
||||
if (response.status === 'success') {
|
||||
resolve(response.data, response.msg);
|
||||
|
|
Loading…
Reference in New Issue