|
@@ -72,7 +72,7 @@ getWildcard().then((res) => {
|
72
|
72
|
})
|
73
|
73
|
const defaultWildcardList = ['日期', '时分秒', '动态标号']
|
74
|
74
|
const getWildcardList:any = ref(JSON.parse(JSON.stringify(defaultWildcardList)))
|
75
|
|
-const inputValue = ref('微信朋友圈-<日期>_<时分秒>_<动态标号>')
|
|
75
|
+const inputValue = ref('<时分秒>_<动态标号>')
|
76
|
76
|
const valueMaxLength = ref(60)
|
77
|
77
|
const errorFlag = ref(false)
|
78
|
78
|
|
|
@@ -97,7 +97,7 @@ const areBracketsComplete = (str) => {
|
97
|
97
|
let flag2 = false
|
98
|
98
|
const arr = str.split('<');
|
99
|
99
|
for (let i = 0; i < arr.length; i++) {
|
100
|
|
- if (arr[i] == '' || arr[0].indexOf('>') != -1 || arr[0].indexOf('<') != -1 || i != 0 && (arr[i].indexOf('>') == -1 || (arr[i].split('>')).length != 2)) {
|
|
100
|
+ if ((i != 0 && arr[i] == '') || arr[0].indexOf('>') != -1 || arr[0].indexOf('<') != -1 || i != 0 && (arr[i].indexOf('>') == -1 || (arr[i].split('>')).length != 2)) {
|
101
|
101
|
flag = true
|
102
|
102
|
} else {
|
103
|
103
|
i != 0 && stack.push(arr[i].split('>')[0])
|