Commit ff38a784 by wuchao

修复bug

parent d5523aba
...@@ -107,7 +107,7 @@ const reset = () => { ...@@ -107,7 +107,7 @@ const reset = () => {
matchingway: "", matchingway: "",
defaulttype: "0", defaulttype: "0",
remark: "", remark: "",
testString: "", testString: ""
}; };
}; };
...@@ -167,15 +167,15 @@ const getDictionaryTypesFunc = () => { ...@@ -167,15 +167,15 @@ const getDictionaryTypesFunc = () => {
// 规则测试 // 规则测试
const testRegexFun = () => { const testRegexFun = () => {
const { dictionaryClass, discoverway, matchingway, regex, testString } = const { dictionaryClass, discoverway, matchingway, regex, ruleexample } =
form.value; form.value;
const data = { const data = {
dictionaryClass: dictionaryClass, dictionaryClass: dictionaryClass,
discoverway: discoverway, discoverway: discoverway,
matchingway: matchingway, matchingway: matchingway,
regex: regex, regex: regex,
subRuleidList: subRuleidList.value, subRuleidList: subRuleidList.value
testString: testString, testString: ruleexample,
}; };
formRef.value?.validate((valid) => { formRef.value?.validate((valid) => {
if (valid) { if (valid) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论