diff --git a/src/api/myAxios.ts b/src/api/myAxios.ts index 62ab694..a9d70c4 100644 --- a/src/api/myAxios.ts +++ b/src/api/myAxios.ts @@ -4,8 +4,8 @@ import router from '../router' const myAxios = axios.create({ withCredentials:true, - baseURL: 'http://localhost:9092/api' - // baseURL: 'http://123.249.108.160:8888/api' //测试服务器 + // baseURL: 'http://localhost:9092/api' + baseURL: 'http://123.249.108.160:8888/api' //测试服务器 }); // 添加请求拦截器 axios.interceptors.request.use(function (config) { diff --git a/src/router/routes.ts b/src/router/routes.ts index da9bef7..d4bd3dc 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -217,40 +217,40 @@ export const constantRoute = [ children: [ { path: '/AddCostumes', - name: '添加服装', + name: '添加写真产品', component: ()=> import("@/views/CostumeAppointments/AddCostumes.vue"), meta: { - title: '添加服装' , + title: '添加写真产品' , icon: 'Edit', hidden: false } }, { path: '/ClothingGrade', - name: '服装等级管理', + name: '写真产品类别', component: ()=> import("@/views/CostumeAppointments/ClothingGrade.vue"), meta: { - title: '服装等级管理' , + title: '写真产品类别' , icon: 'Files', hidden: false } }, { path: '/ManagementCenter', - name: '服装详情管理', + name: '写真产品详情', component: ()=> import("@/views/CostumeAppointments/ManagementCenter.vue"), meta: { - title: '服装详情管理' , + title: '写真产品详情' , icon: 'Tickets', hidden: false } }, { path: '/AppointmentOrder', - name: '写真预约订单管理', + name: '写真预约订单', component: ()=> import("@/views/CostumeAppointments/AppointmentOrder.vue"), meta: { - title: '写真预约订单管理' , + title: '写真预约订单' , icon: 'MessageBox', hidden: false } diff --git a/src/views/Orders/OrderList.vue b/src/views/Orders/OrderList.vue index 24866e1..5d1cf48 100644 --- a/src/views/Orders/OrderList.vue +++ b/src/views/Orders/OrderList.vue @@ -267,7 +267,7 @@ const deleteOrder = async (row : any) => { //微信退款 getOrderList() loading.value = false } - },10000) + },3) } const reset = () => { //重置搜索框 orderNumber.value = ''; diff --git a/src/views/Orders/PendingServiceOrderList.vue b/src/views/Orders/PendingServiceOrderList.vue index d6ea4ec..ffdca94 100644 --- a/src/views/Orders/PendingServiceOrderList.vue +++ b/src/views/Orders/PendingServiceOrderList.vue @@ -273,7 +273,7 @@ const refundOrder = async (row : any) => { //微信退款 getOrderList() loading.value = false } - },10000) + },2000) } const reset = () => { //重置搜索框 goodId.value = ''