浏览代码

Промежуточный коммит

Book Pauk 6 年之前
父节点
当前提交
a64687f64f
共有 1 个文件被更改,包括 22 次插入2 次删除
  1. 22 2
      client/components/Reader/SettingsPage/SettingsPage.vue

+ 22 - 2
client/components/Reader/SettingsPage/SettingsPage.vue

@@ -555,10 +555,30 @@ class SettingsPage extends Vue {
         }
     }
 
-    addProfile() {
+    async addProfile() {
+        try {
+            const result = await this.$prompt('Введите произвольное имя для профиля устройства', '', {
+              confirmButtonText: 'OK',
+              cancelButtonText: 'Отмена'
+            });
+            if (result.value) {
+                
+            }
+        } catch (e) {
+            //
+        }
+    }
+
+    async delProfile() {
+    }
+
+    async showServerStorageKey() {
+    }
+
+    async enterServerStorageKey() {
     }
 
-    delProfile() {
+    async generateServerStorageKey() {
     }
 
     keyHook(event) {