File tree Expand file tree Collapse file tree
workspace/components/FunctionToolbar Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export default class MapCut extends React.Component {
7878 ( async function ( ) {
7979 let layers = await this . props . getLayers ( )
8080 SMap . getDatasources ( ) . then ( datasources => {
81- let reg = / ^ L a b e l _ ( .* ) # $ /
81+ let reg = / ^ L a b e l _ ( .* ) ( ( # $ ) | ( # _ \d + $ ) | ( # # \d + $ ) ) /
8282 datasources = datasources . filter ( item => ! item . alias . match ( reg ) )
8383 this . setState ( {
8484 datasources,
Original file line number Diff line number Diff line change @@ -789,7 +789,7 @@ export default class FunctionToolbar extends React.Component {
789789
790790 let userUDBPath , userUDBs
791791 //过滤掉标注和标绘匹配正则
792- let checkLabelAndPlot = / ^ ( L a b e l _ | P l o t E d i t _ ( .* ) @ ) ( .* ) # $ /
792+ let checkLabelAndPlot = / ^ ( L a b e l _ | P l o t E d i t _ ( .* ) @ ) ( .* ) ( ( # $ ) | ( # _ \d + $ ) | ( # # \d + $ ) ) /
793793 if (
794794 this . props . user &&
795795 this . props . user . currentUser . userName &&
You can’t perform that action at this time.
0 commit comments