From d1bab3e9956374ebad8e186ac4aa10ced8f30f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A8=B9=E7=AB=B9?= <18750090362@163.com> Date: Sun, 27 Nov 2022 16:13:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E6=97=A0=E6=B3=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=AF=AD=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest/manifest.production.json | 6 +++--- src/options/App/tip/AddActive.vue | 2 +- src/options/App/tip/tabArray.vue | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/manifest/manifest.production.json b/manifest/manifest.production.json index 7ff3fc8..ab182bf 100644 --- a/manifest/manifest.production.json +++ b/manifest/manifest.production.json @@ -1,8 +1,8 @@ { "manifest_version": 3, - "name": "stop-mess-around", + "name": "stop-mess-around-file", "version": "2.1.1", - "description": "减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", + "description": "file: 减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", "options_page": "options.html", "short_name": "StopMessAround", "author": "obkoro1@foxmail.com", @@ -12,7 +12,7 @@ }, "action": { "default_icon": "img/48.png", - "default_title": "减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", + "default_title": "file: 减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", "default_popup": "popup.html" }, "icons": { diff --git a/src/options/App/tip/AddActive.vue b/src/options/App/tip/AddActive.vue index 6331dcf..43ca553 100644 --- a/src/options/App/tip/AddActive.vue +++ b/src/options/App/tip/AddActive.vue @@ -54,7 +54,7 @@ export default { * @description: 保存添加的数据 */ saveAddFn() { - const arr = this[this.radio] + const arr = this.$attrs[this.radio] if (!checkContentInArr(arr, this.textarea)) return arr.unshift(this.textarea) this.$message.success('添加成功') diff --git a/src/options/App/tip/tabArray.vue b/src/options/App/tip/tabArray.vue index 00cfd06..bf83ade 100644 --- a/src/options/App/tip/tabArray.vue +++ b/src/options/App/tip/tabArray.vue @@ -114,7 +114,11 @@ label="添加" name="add" > - + Date: Mon, 12 Dec 2022 23:48:19 +0800 Subject: [PATCH 2/2] chore: V2.1.2 --- CHANNGELOG.md | 5 ++++- manifest/manifest.production.json | 8 ++++---- package.json | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CHANNGELOG.md b/CHANNGELOG.md index b6e6a52..f601ae9 100644 --- a/CHANNGELOG.md +++ b/CHANNGELOG.md @@ -11,11 +11,14 @@ +### [V2.1.2] + +* fix: 无法自定义添加励志语录的问题 [#19](https://github.com/OBKoro1/stop-mess-around/issues/19) + ### [V2.1.1] * fix: 修复倒计时关闭页面无法关闭的问题。 - ### [V2.1.0] * feat: [匹配到网站时倒计时关闭页面](https://github.com/OBKoro1/stop-mess-around/wiki/%E5%8A%9F%E8%83%BD%E7%A4%BA%E4%BE%8B%E4%BB%A5%E5%8F%8A%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E#%E5%8C%B9%E9%85%8D%E5%88%B0%E6%91%B8%E9%B1%BC%E7%BD%91%E5%9D%80%E5%90%8E%E5%AE%9A%E6%97%B6%E5%85%B3%E9%97%AD),更主动的去杜绝摸鱼的想法。 diff --git a/manifest/manifest.production.json b/manifest/manifest.production.json index ab182bf..40f1ce5 100644 --- a/manifest/manifest.production.json +++ b/manifest/manifest.production.json @@ -1,8 +1,8 @@ { "manifest_version": 3, - "name": "stop-mess-around-file", - "version": "2.1.1", - "description": "file: 减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", + "name": "stop-mess-around", + "version": "2.1.2", + "description": "减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", "options_page": "options.html", "short_name": "StopMessAround", "author": "obkoro1@foxmail.com", @@ -12,7 +12,7 @@ }, "action": { "default_icon": "img/48.png", - "default_title": "file: 减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", + "default_title": "减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", "default_popup": "popup.html" }, "icons": { diff --git a/package.json b/package.json index a1abb43..675fb07 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "stop-mess-around", "description": "减少摸鱼的时间和频率的浏览器插件:提醒你正在摸鱼,摸鱼的时候知道自己在摸鱼,提高我们上班和学习的效率,节省时间用于学习提升自己或者享受生活", - "version": "2.1.1", + "version": "2.1.2", "publisher": "OBKoro1", "homepage": "https://github.com/OBKoro1/stop-mess-around", "license": "MIT",