|
@@ -156,6 +156,8 @@ export default {
|
|
if (this.keycode != '') {
|
|
if (this.keycode != '') {
|
|
pa.data.Filters += `;EquipName contain "${this.keycode}" or EquipLocalName contain "${this.keycode}" or EquipLocalID contain "${this.keycode}"`
|
|
pa.data.Filters += `;EquipName contain "${this.keycode}" or EquipLocalName contain "${this.keycode}" or EquipLocalID contain "${this.keycode}"`
|
|
}
|
|
}
|
|
|
|
+ // 删除首尾分号
|
|
|
|
+ pa.data.Filters = pa.data.Filters.replace(/(^;)|(;$)/g,'');
|
|
if (pa.data.Filters == '') {
|
|
if (pa.data.Filters == '') {
|
|
delete pa.data.Filters
|
|
delete pa.data.Filters
|
|
}
|
|
}
|