diff --git a/src/pages.json b/src/pages.json
index 018414c..0e60ea8 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -67,6 +67,14 @@
"style": {
"navigationBarTitleText": "请求"
}
+ },
+ {
+ "path": "pages/index/upload",
+ "type": "page",
+ "layout": "default",
+ "style": {
+ "navigationBarTitleText": "上传"
+ }
}
],
"subPackages": []
diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue
index 19a99ec..fc6c291 100644
--- a/src/pages/index/about.vue
+++ b/src/pages/index/about.vue
@@ -22,6 +22,9 @@
去请求页2 (请求状态一体化)
+
+ 上传demo
+
diff --git a/src/pages/index/upload.vue b/src/pages/index/upload.vue
new file mode 100644
index 0000000..2805bd7
--- /dev/null
+++ b/src/pages/index/upload.vue
@@ -0,0 +1,75 @@
+
+{
+ layout: 'default',
+ style: {
+ navigationBarTitleText: '上传',
+ },
+}
+
+
+
+
+ 选择图片并上传
+ 上传后返回的图片地址:
+ {{ imgStr }}
+
+
+
+
+
+
+
+
+