feat: 前端指令参数的解析

This commit is contained in:
zhangdahai112 2022-03-25 16:47:00 +08:00 committed by 刘瑞斌
parent 7ff56b4d01
commit 09dbda5ff7
3 changed files with 14 additions and 9 deletions

View File

@ -22,12 +22,15 @@ export const CUSTOM_FIELD_TYPE_OPTION = [
export const UI_ELEMENT_LOCATION_TYPE_OPTION = [
{value: 'id', text: 'id'},
{value: 'name', text: 'name'},
{value: 'class',text: 'class'},
{value: 'tag',text: 'tag'},
{value: 'link',text: 'link'},
{value: 'plink',text: 'plink'},
{value: 'className', text: 'class'},
{value: 'tagName', text: 'tag'},
{value: 'linkText', text: 'link'},
{value: 'partialLinkText', text: 'plink'},
{value: 'css', text: 'css'},
{value: 'xpath',text: 'xpath'}
{value: 'xpath', text: 'xpath'},
{value: 'label', text: 'label'},
{value: 'value', text: 'value'},
{value: 'index', text: 'index'},
];
export const CUSTOM_FIELD_SCENE_OPTION = [

View File

@ -3122,5 +3122,7 @@ export default {
enable: "启用",
disable: "禁用",
resolution: "分辨率",
ignore_fail: "忽略异常并继续执行",
not_ignore_fail: "终止流程",
}
};

View File

@ -61,7 +61,7 @@ module.exports = {
}
},
configureWebpack: {
devtool: 'source-map',
devtool: 'cheap-module-source-map',
resolve: {
alias: {
'@': resolve('src')