Selaa lähdekoodia

feat:改文案

jinx 3 vuotta sitten
vanhempi
commit
ab5449ee53
1 muutettua tiedostoa jossa 19 lisäystä ja 22 poistoa
  1. 19 22
      platform-admin/src/main/webapp/js/sys/bindAccount.js

+ 19 - 22
platform-admin/src/main/webapp/js/sys/bindAccount.js

@@ -75,28 +75,25 @@ var vm = new Vue({
       }
     },
     unbind() {
-      confirm(
-        '解绑后,编辑当前账号下的八目相机需进行手动登录,是否确定解绑?',
-        function () {
-          $.ajax({
-            type: 'POST',
-            url: '../sys/user/unBind4dkkUser',
-            headers: { token: localStorage.getItem('token') },
-            data: { fdkkUser: vm.info.fdkkUser },
-            dataType: 'json',
-            success: function (result) {
-              if (result.code == 0) {
-                vm.info.fdkkUser = null
-                alert('操作成功', function (index) {
-                  // vm.reload()
-                })
-              } else {
-                alert(res.msg)
-              }
-            },
-          })
-        }
-      )
+      confirm('解绑后,场景对应绑定的数据将被删除,请谨慎操作', function () {
+        $.ajax({
+          type: 'POST',
+          url: '../sys/user/unBind4dkkUser',
+          headers: { token: localStorage.getItem('token') },
+          data: { fdkkUser: vm.info.fdkkUser },
+          dataType: 'json',
+          success: function (result) {
+            if (result.code == 0) {
+              vm.info.fdkkUser = null
+              alert('操作成功', function (index) {
+                // vm.reload()
+              })
+            } else {
+              alert(res.msg)
+            }
+          },
+        })
+      })
     },
     getBindInfo() {
       var userId = JSON.parse(localStorage.getItem('userInfo')).userId