Commit fcee0614 by liyuhang19990520

更改配置

parent 0d9e4cce
/* /*
* @Author: your name * @Author: your name
* @Date: 2021-08-20 16:31:17 * @Date: 2021-08-20 16:31:17
* @LastEditTime: 2021-09-06 09:38:43 * @LastEditTime: 2021-09-13 09:11:14
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: \V-IM-PC\src\views\im\conf\index.js * @FilePath: \V-IM-PC\src\views\im\conf\index.js
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
export default { export default {
app_name: "V-IM", app_name: "V-IM",
http_protocol: "http", http_protocol: "http",
http_port: 8082, http_port: process.env.NODE_ENV === "development" ? 8082 : 8084,
ws_port: 9326, ws_port: 9326,
init: "/api/user/init", init: "/api/user/init",
his_url: "/api/message/list", his_url: "/api/message/list",
......
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
<li title="创建群聊" @click="modal10 = true"> <li title="创建群聊" @click="modal10 = true">
<Icon type="ios-color-filter-outline"></Icon> <Icon type="ios-color-filter-outline"></Icon>
</li> </li>
<li title="添加好友" class="addFriend"> <!-- <li title="添加好友" class="addFriend">
<a href="javascript:void(0)" @click="modal11 = true"> <a href="javascript:void(0)" @click="modal11 = true">
<i class="el-icon-plus"></i> <i class="el-icon-plus"></i>
</a> </a>
</li> </li> -->
</ul> </ul>
</div> </div>
<keep-alive> <keep-alive>
......
...@@ -23,7 +23,8 @@ export default { ...@@ -23,7 +23,8 @@ export default {
showErr: false, showErr: false,
showSetting: false, showSetting: false,
showRegister: false, showRegister: false,
host: "110.1.6.3", host:
process.env.NODE_ENV === "development" ? "192.168.0.106" : "110.1.6.3",
uap: "", uap: "",
}; };
}, },
...@@ -114,11 +115,10 @@ export default { ...@@ -114,11 +115,10 @@ export default {
i.forEach((j, index) => { i.forEach((j, index) => {
if (j == "username") { if (j == "username") {
this.username = arr[s][index + 1]; this.username = arr[s][index + 1];
} else if (j == "password") {
this.password = arr[s][index + 1];
} }
}); });
}); });
this.password = "123456";
console.log(this.username, this.password); console.log(this.username, this.password);
setTimeout(() => { setTimeout(() => {
this.login(); this.login();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment