diff --git a/src/api/myAxios.ts b/src/api/myAxios.ts
index 5cb4688..0a72ae1 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' //测试服务器
// baseURL: 'http://154.8.193.216:9092/api', //隋雨霏服务器
// baseURL: 'http://154.8.193.216:9093/api' //隋雨霏服务器测试环境
});
diff --git a/src/views/Commodity/MerchandiseCenter.vue b/src/views/Commodity/MerchandiseCenter.vue
index a0f9e49..815177e 100644
--- a/src/views/Commodity/MerchandiseCenter.vue
+++ b/src/views/Commodity/MerchandiseCenter.vue
@@ -259,6 +259,7 @@ const saveEdit = async () => { //编辑商品
message: '更新成功'
})
DialogVisible.value = false
+ getProductList()
} else {
ElMessage.error('更新失败,请检查字段')
}
diff --git a/src/views/CostumeAppointments/AppointmentOrder.vue b/src/views/CostumeAppointments/AppointmentOrder.vue
index 3e52a36..40686d8 100644
--- a/src/views/CostumeAppointments/AppointmentOrder.vue
+++ b/src/views/CostumeAppointments/AppointmentOrder.vue
@@ -28,6 +28,12 @@
详情
+
+
+ 取消订单
+
+
@@ -37,7 +43,7 @@
- 退款
+ 退款
diff --git a/src/views/CostumeAppointments/ClothingGrade.vue b/src/views/CostumeAppointments/ClothingGrade.vue
index a7fa6b9..08f4e16 100644
--- a/src/views/CostumeAppointments/ClothingGrade.vue
+++ b/src/views/CostumeAppointments/ClothingGrade.vue
@@ -91,9 +91,8 @@ const cancel = () => {
dialogVisible.value = false
resetForm()
}
-//新增类别 很繁杂 不知道怎么改 只能不断判空
+//新增类别
const addOrUpdateType = async () => {
- //判空(*后期引入对象判空)
if (typeForm.value.name?.indexOf(' ') !== -1 ||
typeForm.value.name == '' ) {
ElMessage({