wly 7 سال پیش
والد
کامیت
9e39864f89
2فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 2 0
      src/case/ShopApp/src/App.js
  2. 7 0
      src/case/ShopApp/src/api/axious_request.js

+ 2 - 0
src/case/ShopApp/src/App.js

@@ -9,6 +9,8 @@ import OrderPage from './components/OrderPage/OrederPage'
 
 import {graphqls} from './api/graphql_request'
 import {getProductById} from './api/graphql/product'
+import axious from './api/axious_request'
+axious()
 
 class ShopApp extends Component {
   //showComponent

+ 7 - 0
src/case/ShopApp/src/api/axious_request.js

@@ -0,0 +1,7 @@
+const axios = require('axios');
+
+const axious=()=>{
+    console.log("axios",axios)
+}
+
+export default axious