WokerTask/public/admin/assets/setup.24d0bddb.js

2 lines
3.1 KiB
JavaScript
Raw Normal View History

2024-01-15 18:44:35 +08:00
import{_ as B}from"./index.7ebe31c9.js";import{D,F as E,J as g,w as h}from"./element-plus.ff90c99c.js";import{_ as b}from"./picker.5a89669b.js";import{a as w,b as y}from"./user.aa656226.js";import{d as n,$ as A,aq as k,o as s,c as V,W as r,Q as e,u as a,a as i,R as x,P as S,U}from"./@vue.f8dfc830.js";import"./index.872975fb.js";import"./@vueuse.a2e59ee9.js";import"./lodash.3e731b89.js";import"./@amap.8a62addd.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./@element-plus.0374639c.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./lodash-es.a73406b7.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./index.000fc3bb.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./index.7bbc213e.js";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./index.4584e2bf.js";import"./index.4cae9985.js";import"./index.vue_vue_type_script_setup_true_lang.ec118b31.js";import"./usePaging.bd7a7dec.js";import"./vue3-video-play.5592bdaa.js";import"./vuedraggable.99ce9db3.js";import"./vue.80fb6650.js";import"./sortablejs.76b408b5.js";const N={class:"user-setup"},j=i("div",{class:"font-medium mb-7"},"\u57FA\u672C\u8BBE\u7F6E",-1),R=i("div",null,[i("div",{class:"form-tips"}," \u7528\u6237\u6CE8\u518C\u65F6\u7ED9\u7684\u9ED8\u8BA4\u5934\u50CF\uFF0C\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A400*400\u50CF\u7D20\uFF0C\u652F\u6301jpg\uFF0Cjpeg\uFF0Cpng\u683C\u5F0F ")],-1),q=n({name:"userSetup"}),qt=n({...q,setup(I){const t=A({default_avatar:""}),p=async()=>{try{const o=await w();for(const m in t)t[m]=o[m]}catch(o){console.log("\u83B7\u53D6=>",o)}},l=async()=>{try{await y(t),p()}catch(o){console.log("\u4FDD\u5B58=>",o)}};return p(),(o,m)=>{const _=b,u=D,c=E,d=g,f=h,F=B,C=k("perms");return s(),V("div",N,[r(d,{shadow:"never",class:"!border-none"},{default:e(()=>[j,r(c,{ref:"formRef",model:a(t),"label-width":"120px"},{default:e(()=>[r(u,{label:"\u7528\u6237\u9ED8\u8BA4\u5934\u50CF"},{default:e(()=>[i("div",null,[r(_,{modelValue:a(t).default_avatar,"onUpdate:modelValue":m[0]||(m[0]=v=>a(t).default_avatar=v),limit:1},null,8,["modelValue"])])]),_:1}),r(u,null,{default:e(()=>[R]),_:1})]),_:1},8,["model"])]),_:1}),x((s(),S(F,null,{default:e(()=>[r(f,{type:"primary",onClick:l},{default:e(()=>[U("\u4FDD\u5B58")]),_:1})]),_:1})),[[C,["setting.user.user/setConfig"]]])])}}});export{qt as default};