Browse Source

修改方法名称

xiaohaizhao 1 year ago
parent
commit
f65356bfb3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packageA/facility/modules/list.vue

+ 2 - 2
packageA/facility/modules/list.vue

@@ -1,6 +1,6 @@
 <template>
     <view>
-        <My_search @openFilter="openFilter" @startSearch="startSearch" />
+        <My_search @onFilter="onFilter" @startSearch="startSearch" />
         <My_listbox ref="List" @getlist="getlist" :empty='empty'>
             <navigator v-for="item in list" :key="item.w_deviceid" class="item"
                 :url="'/packageA/facility/detail?id=' + item.w_deviceid">
@@ -83,7 +83,7 @@ export default {
             this.content.where.condition = condition;
             this.getlist(true)
         },
-        openFilter(e) {
+        onFilter(e) {
             console.log("开始筛选", e)
         },
     }