Commit ff38a784 by wuchao

修复bug

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