e 3 years ago
parent 33e958c4de
commit ae68f80069
  1. 4
      src/apis/request.js
  2. 11
      src/views/column/Demo.vue
  3. 8
      src/views/home/Homemange.vue
  4. 8
      src/views/title/Addtitle.vue
  5. 4
      src/views/title/Editphoto.vue

@ -3,13 +3,13 @@ import axios from 'axios';
// axios.defaults.baseURL='http://139.9.247.137/msdw';
// axios.defaults.baseURL='https://www.feifanhitech.com/msdw';
// axios.defaults.baseURL='http://www.zxyicloud.com/msdw';
axios.defaults.baseURL='http://47.107.237.129/msdw';
axios.defaults.baseURL='http://zxyicloud.com/msdw';
//token为登录时,账号密码正确,服务端res中的数据
//joggle为上传文件地址
// export const joggle='https://www.feifanhitech.com/msdw/aliyun/uploadFiles';
// export const joggle='http://www.zxyicloud.com/msdw/aliyun/uploadFiles';
export const joggle='http://47.107.237.129/msdw/aliyun/uploadFiles';
export const joggle='http://zxyicloud.com/msdw/aliyun/uploadFiles';
axios.interceptors.request.use((req)=>{
// console.log('请求拦截器拦截的数据:req',req)
const token = sessionStorage.getItem('token');

@ -674,7 +674,18 @@ export default {
console.log(this.options, 1);
});
},
handleDragStart(){
},
handleDragEnter(){
},
handleDragLeave(){
},
handleDragOver(){
},
handleDragEnd(draggingNode, dropNode, dropType) {
console.log("tree drag end: ", dropNode && dropNode.label, dropType, 6);
},

@ -1559,6 +1559,7 @@ export default {
dialogaddclassify: false,
dialogeditclassify: false,
dialogaddlink: false,
editorOption: false,
formLabelWidth: "90px",
a: false,
changeCount: 0, //
@ -1710,6 +1711,10 @@ export default {
this.homeForm.links5 = JSON.parse(JSON.stringify(this.links5clone));
}
},
error(){
},
uploading(){
},
getTreeData(data) {
// json
for (var i = 0; i < data.length; i++) {
@ -1968,6 +1973,9 @@ export default {
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
handleSelect(){
},
bottom(index) {
var temp = {};

@ -147,7 +147,7 @@
</div>
</div>
<el-upload class="avatar-uploader"
action="http://47.107.237.129/msdw/aliyun/uploadFiles"
action="http://zxyicloud.com/msdw/aliyun/uploadFiles"
name="img"
:headers="headerObj"
:show-file-list="false"
@ -176,9 +176,9 @@ export default {
{ required: true, message: "请上传图片", trigger: "change" },
],
title: [{ required: true, message: "请输入标题", trigger: "blur" }],
textContent: [
{ required: true, message: "请输入内容", trigger: "blur" },
],
// textContent: [
// { required: true, message: "", trigger: "blur" },
// ],
description: [
{ required: true, message: "请输入来源", trigger: "blur" },
],

@ -56,7 +56,7 @@
:options="editorOption"
/>
<el-upload class="avatar-uploaders"
action="http://47.107.237.129/msdw/aliyun/uploadFiles"
action="http://zxyicloud.com/msdw/aliyun/uploadFiles"
name="img"
:headers="headerObj"
:show-file-list="false"
@ -158,7 +158,7 @@
:options="editorOption"
/>
<el-upload class="avatar-uploaders"
action="http://47.107.237.129/msdw/aliyun/uploadFiles"
action="http://zxyicloud.com/msdw/aliyun/uploadFiles"
name="img"
:headers="headerObj"
:show-file-list="false"

Loading…
Cancel
Save