删除警告

This commit is contained in:
lingling 2023-03-20 16:51:29 +08:00
parent 1f979b9b85
commit 313d1c5456
2 changed files with 1 additions and 2 deletions

View File

@ -22,8 +22,6 @@ import { decode, encode } from 'js-base64';
import { copyToClipboard, useQuasar } from 'quasar'; import { copyToClipboard, useQuasar } from 'quasar';
const array = [{ 'name': '', 'url': '', 'picture': '' }]
export default defineComponent({ export default defineComponent({
// eslint-disable-next-line vue/multi-word-component-names // eslint-disable-next-line vue/multi-word-component-names
name: 'Help', name: 'Help',

View File

@ -47,6 +47,7 @@ export default defineComponent({
if (text.value.length <= 0) { if (text.value.length <= 0) {
return false return false
} }
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
let texttmp = text.value!.replace(/\ +/g, ''); let texttmp = text.value!.replace(/\ +/g, '');
texttmp = texttmp.replace(/[\r\n]/g, ''); texttmp = texttmp.replace(/[\r\n]/g, '');
let arr = texttmp.split('vmess://'); let arr = texttmp.split('vmess://');