panhui 6 ani în urmă
părinte
comite
e34f3ed1f2
4 a modificat fișierele cu 14 adăugiri și 5 ștergeri
  1. 11 2
      project.config.json
  2. 1 1
      src/pages/home/home.vue
  3. 1 1
      src/pages/login/login.json
  4. 1 1
      src/utils/http.js

+ 11 - 2
project.config.json

@@ -1,13 +1,21 @@
 {
 	"description": "项目配置文件。",
 	"setting": {
-		"urlCheck": false,
+		"urlCheck": true,
 		"es6": false,
 		"postcss": true,
 		"minified": true,
 		"newFeature": true,
+		"coverView": true,
 		"autoAudits": false,
-		"checkInvalidKey": true
+		"checkInvalidKey": true,
+		"checkSiteMap": true,
+		"uploadWithSourceMap": true,
+		"babelSetting": {
+			"ignore": [],
+			"disablePlugins": [],
+			"outputPath": ""
+		}
 	},
 	"miniprogramRoot": "dist/wx/",
 	"compileType": "miniprogram",
@@ -15,6 +23,7 @@
 	"projectname": "ecommerce",
 	"simulatorType": "wechat",
 	"simulatorPluginLibVersion": {},
+	"libVersion": "2.9.3",
 	"condition": {
 		"search": {
 			"current": -1,

+ 1 - 1
src/pages/home/home.vue

@@ -96,7 +96,7 @@ export default {
     },
     onLoad() {
         this.$http
-            .get('/storeInfo/getOne', { id: 13 })
+            .get('/storeInfo/getOne', { id: 114 })
             .then(res => {
                 if (res.success) {
                     this.$store.commit('updateStoreInfo', res.data);

+ 1 - 1
src/pages/login/login.json

@@ -1,5 +1,5 @@
 {
-    "navigationBarTitleText": "123123",
+    "navigationBarTitleText": "图途象",
     "navigationStyle": "custom",
     "disableScroll": true
 }

+ 1 - 1
src/utils/http.js

@@ -16,7 +16,7 @@ function parseUrl(url) {
 export default {
   install(_Vue) {
     _Vue.prototype.$http = {
-      storeId: 13,
+      storeId: 114,
       setToken(token) {
         console.log(token);
         this.token = token;