|
@@ -616,11 +616,6 @@ export default {
|
|
|
);
|
|
|
if (changed) return true;
|
|
|
|
|
|
- const prevUserIds = this.instance.markers.map((item) => item.userId);
|
|
|
- const curUserIds = this.selectedUsers.map((item) => item.id);
|
|
|
- changed = !this.equalArr(prevUserIds, curUserIds);
|
|
|
- if (changed) return true;
|
|
|
-
|
|
|
const prevQnos = this.instance.questions.map(
|
|
|
(item) => `${item.mainNumber}-${item.subNumber}`
|
|
|
);
|
|
@@ -629,6 +624,11 @@ export default {
|
|
|
);
|
|
|
changed = !this.equalArr(prevQnos, curQnos);
|
|
|
return changed;
|
|
|
+
|
|
|
+ // const prevUserIds = this.instance.markers.map((item) => item.userId);
|
|
|
+ // const curUserIds = this.selectedUsers.map((item) => item.id);
|
|
|
+ // changed = !this.equalArr(prevUserIds, curUserIds);
|
|
|
+ // return changed;
|
|
|
},
|
|
|
// confirm
|
|
|
async confirm() {
|