tianyunperfect 1 rok pred
rodič
commit
c7a9f5d655
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      simple-demo/send_memos.html

+ 5 - 1
simple-demo/send_memos.html

@@ -230,7 +230,7 @@
             contentList: [],
             sendBtnAble: true,
             resourceMap: {}, // 资源map,
-            commonTags: ['todo', '日记', '梦记', '美食', '备份', '歌曲', '电影', '随笔', '社会', '人生'],
+            commonTags: ['todo'],
             upload_url: 'https://memos.tianyunperfect.cn/api/v1/resource/blob',
             tmpFileIds: [],
             cloneFileIds: []
@@ -255,6 +255,10 @@
             }
             this.getAllTags();
             this.search();
+
+            requestUtil.async('https://web_history.tianyunperfect.cn/memos/getCustomMemoTags', 'get').then(res => {
+                this.commonTags = JSON.parse(res['res'][0]['content']);
+            });
         },
         methods: {
             removeTmp(item){