刘洋 9 сар өмнө
parent
commit
4402f0dd38

+ 1 - 1
src/views/service-unit/dispatch/dispatch-manage/allocation-dialog.vue

@@ -259,7 +259,7 @@ const roleColumns = [
 ];
 
 const save = async () => {
-  if (IS_CLOUD && !formData.allocationParams[0].userIdList?.length) {
+  if (IS_CLOUD.value && !formData.allocationParams[0].userIdList?.length) {
     return MessagePlugin.error('区域协调人必选,且只能选择一个');
   } else if (!formData.allocationParams[1].userIdList?.length) {
     return MessagePlugin.error('大区经理必选,且只能选择一个');