Commit fcee0614 by liyuhang19990520

更改配置

parent 0d9e4cce
/*
* @Author: your name
* @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
* @Description: In User Settings Edit
* @FilePath: \V-IM-PC\src\views\im\conf\index.js
......@@ -9,7 +9,7 @@
export default {
app_name: "V-IM",
http_protocol: "http",
http_port: 8082,
http_port: process.env.NODE_ENV === "development" ? 8082 : 8084,
ws_port: 9326,
init: "/api/user/init",
his_url: "/api/message/list",
......
......@@ -28,11 +28,11 @@
<li title="创建群聊" @click="modal10 = true">
<Icon type="ios-color-filter-outline"></Icon>
</li>
<li title="添加好友" class="addFriend">
<!-- <li title="添加好友" class="addFriend">
<a href="javascript:void(0)" @click="modal11 = true">
<i class="el-icon-plus"></i>
</a>
</li>
</li> -->
</ul>
</div>
<keep-alive>
......
......@@ -23,7 +23,8 @@ export default {
showErr: false,
showSetting: false,
showRegister: false,
host: "110.1.6.3",
host:
process.env.NODE_ENV === "development" ? "192.168.0.106" : "110.1.6.3",
uap: "",
};
},
......@@ -114,11 +115,10 @@ export default {
i.forEach((j, index) => {
if (j == "username") {
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);
setTimeout(() => {
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