Просмотр исходного кода

bugfix: 修改未上传图片的用户信息时,上一个操作的图片缓存未清空导致的幻读问题

Wang Zi Wen 1 год назад
Родитель
Сommit
495a860811
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      ruoyi-ui/src/views/system/user/index.vue

+ 1 - 0
ruoyi-ui/src/views/system/user/index.vue

@@ -682,6 +682,7 @@ export default {
     handleUpdate(row) {
     handleUpdate(row) {
       this.reset();
       this.reset();
       this.photoUrl = null;
       this.photoUrl = null;
+      this.signUrl = null;
       const userId = row.userId || this.ids;
       const userId = row.userId || this.ids;
       getUser(userId).then(response => {
       getUser(userId).then(response => {
         this.form = response.data;
         this.form = response.data;