后台增加技师端自定义菜单聊天类目

This commit is contained in:
贾祥聪
2025-08-21 16:20:27 +08:00
parent 1b9651c3e5
commit 56f0b25679
639 changed files with 1476 additions and 1687 deletions

View File

@@ -0,0 +1 @@
import{aj as l,j as p}from"./index-Bp03Znup.js";function P(o){const{page:i=1,size:c=15,fetchFun:g,params:e={},fixedParams:r={},firstLoading:u=!1}=o,s=Object.assign({},l(e)),a=p({page:i,size:c,loading:u,count:0,lists:[],extend:{}}),n=()=>(a.loading=!0,g({page_no:a.page,page_size:a.size,...e,...r}).then(t=>(a.count=t==null?void 0:t.count,a.lists=t==null?void 0:t.lists,a.extend=t==null?void 0:t.extend,Promise.resolve(t))).catch(t=>Promise.reject(t)).finally(()=>{a.loading=!1}));return{pager:a,getLists:n,resetParams:()=>{Object.keys(s).forEach(t=>{e[t]=s[t]}),n()},resetPage:()=>{a.page=1,n()}}}export{P as u};