Auto Commit

上级 eaa02369
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
<Col> <Col>
<Button size="large" class="ivu-ml" icon="md-add" :disabled="loading" @click="handleNewChat">新对话</Button> <Button size="large" class="ivu-ml" icon="md-add" :disabled="loading" @click="handleNewChat">新对话</Button>
</Col> </Col>
<Col> <!-- <Col>
<Button size="large" class="ivu-ml" icon="md-arrow-up" :disabled="loading" @click="handleHistoryChat">记录</Button> <Button size="large" class="ivu-ml" icon="md-arrow-up" :disabled="loading" @click="handleHistoryChat">记录</Button>
</Col> </Col>
<Col> <Col>
<Button type="large" class="ivu-ml" icon="md-log-out" :disabled="loading" @click="logout">退出</Button> <Button type="large" class="ivu-ml" icon="md-log-out" :disabled="loading" @click="logout">退出</Button>
</Col> </Col> -->
</Row> </Row>
</div> </div>
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
/* background-color:gainsboro; */ /* background-color:gainsboro; */
background-image:url(../assets/background.jpg); background-image:url(./assets/background.jpg);
} }
.dialog { .dialog {
......
...@@ -4,7 +4,8 @@ import axios from 'axios' ...@@ -4,7 +4,8 @@ import axios from 'axios'
//使用axios下面的create([config])方法创建axios实例,其中config参数为axios最基本的配置信息。 //使用axios下面的create([config])方法创建axios实例,其中config参数为axios最基本的配置信息。
const API = axios.create({ const API = axios.create({
baseUrl:'https://flask-wujiaping.inscode.cc/', //请求后端数据的基本地址,自定义 baseUrl:'https://flask-wujiaping.inscode.cc/', //请求后端数据的基本地址,自定义
changeOrigin:true changeOrigin:true,
secure: false,
}) })
//导出我们建立的axios实例模块,ES6 export用法 //导出我们建立的axios实例模块,ES6 export用法
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册