tanbin 10 månader sedan
förälder
incheckning
fd22d531d9
5 ändrade filer med 8 tillägg och 8 borttagningar
  1. 1 1
      index.html
  2. 3 3
      src/config.js
  3. 1 1
      src/manifest.json
  4. 2 2
      src/utils/share.js
  5. 1 1
      vite.config.js

+ 1 - 1
index.html

@@ -13,7 +13,7 @@
           '" />'
       )
     </script>
-    <title>喵星人平台管理系统小程序</title>
+    <title>智能货柜管理系统小程序</title>
     <!--preload-links-->
     <!--app-context-->
   </head>

+ 3 - 3
src/config.js

@@ -2,9 +2,9 @@
 export default {
 	// baseUrl: process.env.NODE_ENV == 'production' ? 'https://api.mxrvending.com:9050' : 'http://119.96.194.20:9050',
 	// 生产环境
-	// baseUrl: 'https://api.mxrvending.com:9050',
+	baseUrl: 'https://api.mxrvending.com:9050',
 	//测试环境
-	baseUrl: 'http://119.96.194.20:9050',
+	// baseUrl: 'http://119.96.194.20:9050',
 	// 应用信息
 	appInfo: {
 		// 应用名称
@@ -16,4 +16,4 @@ export default {
 		// 官方网站
 		site_url: 'http://www.xyvending.com/',
 	},
-}
+}

+ 1 - 1
src/manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "喵星人平台管理系统",
+    "name" : "智能货柜管理系统",
     "appid" : "__UNI__7976EB0",
     "description" : "",
     "versionName" : "1.0.0",

+ 2 - 2
src/utils/share.js

@@ -3,7 +3,7 @@ export default {
 		return {
 			// 默认的全局分享内容
 			share: {
-				title: '喵星人智能售货商家端',
+				title: '智能售货商家端',
 				path: '/pages/login', // 全局分享的路径
 				imageUrl: '', // 全局分享的图片(可本地可网络)
 			}
@@ -26,4 +26,4 @@ export default {
 			imageUrl: this.share.imageUrl,
 		}
 	}
-}
+}

+ 1 - 1
vite.config.js

@@ -1 +1 @@
-import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import AutoImport from "unplugin-auto-import/vite";

export default defineConfig({
  plugins: [
    uni(),
    AutoImport({
      imports: ["vue", "uni-app"],
      dts: false,
    }),
  ],
});

+import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import AutoImport from "unplugin-auto-import/vite";

export default defineConfig({
  plugins: [
    uni(),
    AutoImport({
      imports: ["vue", "uni-app"],
      dts: false,
    }),

  ],
	base:'./',
});