diff --git a/screenShot/lifecycle.png b/screenShot/lifecycle.png
deleted file mode 100644
index b5d8ffa..0000000
Binary files a/screenShot/lifecycle.png and /dev/null differ
diff --git a/src/App.vue b/src/App.vue
index c48cb01..428b3aa 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,10 +1,10 @@
-
+
-
+
diff --git a/src/assets/logo.png b/src/assets/logo.png
deleted file mode 100644
index f3d2503..0000000
Binary files a/src/assets/logo.png and /dev/null differ
diff --git a/src/mock/index.js b/src/mock/index.js
new file mode 100644
index 0000000..cfc5ecf
--- /dev/null
+++ b/src/mock/index.js
@@ -0,0 +1,17 @@
+// mock data
+export const data = {
+ success: true,
+ data: [{
+ name: "React",
+ id: 1,
+ },{
+ name: "Vue",
+ id: 2,
+ },{
+ name: "Angular",
+ id: 3,
+ },{
+ name: "Flutter",
+ id: 4,
+ }]
+};
\ No newline at end of file
diff --git a/src/pages/index.vue b/src/pages/index.vue
index d2edf3d..3e2f2eb 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -1,44 +1,37 @@
-
-
- Loading...
-
+
diff --git a/src/router/index.js b/src/router/index.js
index 514c607..629d6b5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,24 +11,24 @@ import SecondComponent from '../pages/otherPages'
import ThirdComponent from '../pages/otherPages2'
export default new VueRouter({
- mode: 'hash', // 还有 history 等
- base: __dirname,
- routes: [
- {
- path: '/index',
- component: Index,
- },
- {
- path: '/news',
- component: News,
- },
- {
- path: '/second',
- component: SecondComponent,
- },
- {
- path: '/third',
- component: ThirdComponent,
- }
- ]
+ mode: 'hash', // 还有 history 等
+ base: __dirname,
+ routes: [
+ {
+ path: '/index',
+ component: Index,
+ },
+ {
+ path: '/news',
+ component: News,
+ },
+ {
+ path: '/second',
+ component: SecondComponent,
+ },
+ {
+ path: '/third',
+ component: ThirdComponent,
+ }
+ ]
})