mirror of
https://github.com/silenty4ng/k5web
synced 2024-11-14 14:33:23 +00:00
2 lines
17 KiB
JavaScript
2 lines
17 KiB
JavaScript
import{e as M,_ as O}from"./index.20864429.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{d as z,r as H,b0 as N,C as T,D as G,aI as e,aH as F,aM as o,bw as c,G as u,bx as r,u as b,bJ as K,bK as J,bD as X,bL as q,bM as Q,aX as W,bb as Y,bN as Z,bO as uu,bP as tu,bB as eu,bE as Fu,bC as ou,bF as Eu,bd as su,be as nu}from"./arco.cd87ac27.js";import{f as au}from"./vue.a1682e6c.js";import{d as lu,c as iu,r as k,i as Cu,j as Bu,k as du,l as cu,e as g,a as ru,f as Au,g as _u}from"./serial.3518333f.js";import"./chart.19f3a5b6.js";const pu="/assets/cj1.1b825a4f.png",Du="/assets/cj2.b4e01954.png",fu="/assets/cj3.5c1e5f90.png",s=h=>(su("data-v-45bd3fff"),h=h(),nu(),h),hu={class:"container"},bu={style:{"min-height":"300px",margin:"50px"}},mu=s(()=>u("p",{style:{"font-size":"1.2em","font-weight":"bold"}},"\u4F60\u662F\u5426\u60F3\u8981\u6269\u5BB9\u4F60\u7684\u8BBE\u5907\u4EE5\u652F\u6301\u4E2D\u6587\u4FE1\u9053\u5B58\u50A8\uFF1A",-1)),yu=s(()=>u("br",null,null,-1)),ku=s(()=>u("p",{style:{color:"#ff0000","font-weight":"bold"}},"\u58F0\u660E\uFF1A\u672C\u65B9\u6848\u53CA\u76F8\u5E94\u56FA\u4EF6\u5747\u4E3A\u6280\u672F\u63A2\u7D22\u7528\u9014\u3002\u5BF9\u539F\u673A\u8FDB\u884C\u6539\u9020\u9700\u8981\u76F8\u5E94\u4E13\u4E1A\u77E5\u8BC6\u4E14\u53EF\u80FD\u5B58\u5728\u5B89\u5168\u548C\u6CD5\u5F8B\u98CE\u9669\u3002\u4F7F\u7528\u672C\u65B9\u6848\u548C\u56FA\u4EF6\u4EE3\u8868\u60A8\u5DF2\u8BA4\u53EF\u98CE\u9669\u5E76\u81EA\u884C\u627F\u62C5\u540E\u679C\uFF0C\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\u8D22\u4EA7\u635F\u5931\u3001\u4EBA\u5458\u4F24\u4EA1\u3001\u8FDD\u6CD5\u72AF\u7F6A\u7B49\u3002",-1)),gu=s(()=>u("p",{style:{"font-weight":"bold","font-size":"1.2em"}},"\u4E00\u3001\u76F8\u5173\u6CD5\u5F8B",-1)),wu=s(()=>u("p",null,[o(" \u81EA\u5236\u3001\u6539\u88C5\u3001\u62FC\u88C5\u7684\u65E0\u7EBF\u7535\u53D1\u5C04\u8BBE\u5907\uFF0C\u5E94\u7B26\u5408\u56FD\u5BB6\u76F8\u5173\u6280\u672F\u6807\u51C6\uFF0C\u5E76\u6309\u7167\u5DE5\u4FE1\u90E8\u5B98\u7F51\u94FE\u63A5\uFF08"),u("a",{href:"http://www.miit.gov.cn/jgsj/wgj/kpzs/art/2022/art_c1ffd3c47e3f455dad38246579092136.html",target:"_blank",rel:"noopener noreferrer"},"http://www.miit.gov.cn/jgsj/wgj/kpzs/art/2022/art_c1ffd3c47e3f455dad38246579092136.html"),o("\uFF0C\u6216\u901A\u8FC7\u5DE5\u4FE1\u90E8\u5B98\u7F51-\u5DE5\u4E1A\u548C\u4FE1\u606F\u5316\u90E8-\u673A\u5173\u53F8\u5C40-\u65E0\u7BA1\u5C40-\u79D1\u666E\u77E5\u8BC6-\u300A\u5173\u4E8E\u7533\u8BF7\u8BBE\u7F6E\u3001\u4F7F\u7528\u4E1A\u4F59\u65E0\u7EBF\u7535\u53F0\u6240\u7528\u65E0\u7EBF\u7535\u53D1\u5C04\u8BBE\u5907\u76F8\u5173\u4E8B\u5B9C\u7684\u8BF4\u660E\u300B)\u6240\u5217\u60C5\u51B5\uFF0C\u63D0\u4F9B\u76F8\u5E94\u6750\u6599\u3002 ")],-1)),vu=s(()=>u("p",{style:{"font-weight":"bold","font-size":"1.2em"}},"\u4E8C\u3001\u6240\u9700\u5DE5\u5177",-1)),Iu=s(()=>u("p",null," \u5199\u9891\u7EBF\u3001\u87BA\u4E1D\u5200\u5957\u88C5\u3001\u7535\u70D9\u94C1\u3001\u710A\u9521\u4E1D\u3001\u52A9\u710A\u5242\u3001\u7CBE\u5BC6\u7535\u5668\u6E05\u6D01\u5242\uFF08\u53EF\u9009\uFF09\u3001\u64AC\u68D2\uFF08\u53EF\u9009\uFF09\u3001\u4E07\u7528\u8868\uFF08\u53EF\u9009\uFF09\u3002 ",-1)),xu=s(()=>u("p",{style:{"font-weight":"bold","font-size":"1.2em"}},"\u4E09\u3001\u8D2D\u4E70\u6269\u5BB9\u82AF\u7247",-1)),Su=s(()=>u("p",null,[o("\u82AF\u7247\u578B\u53F7\uFF1A"),u("span",{style:{color:"#ff0000"}},"M24M02-DRMN6"),o(" \u6216\u5176\u5B83 SOP-8 \u5C01\u88C5 I\xB2C \u603B\u7EBF 2Mbit EEPROM \u82AF\u7247\u3002\u8003\u8651\u5230\u82AF\u7247\u8D28\u91CF\u53CA\u64CD\u4F5C\u5931\u8BEF\u53EF\u80FD\u5BFC\u81F4\u7684\u635F\u574F\uFF0C\u5EFA\u8BAE\u591A\u4E70\u51E0\u7247\u5907\u7528\u3002")],-1)),Pu=s(()=>u("p",null," \u8BE5\u6559\u7A0B\u7531 BH3RVG \u706B\u661F\u4EBA\u6574\u7406\u63D0\u4F9B\u3002 ",-1)),Ru=[ku,gu,wu,vu,Iu,xu,Su,Pu],ju=s(()=>u("p",{style:{color:"#ff0000","font-weight":"bold"}},"\u58F0\u660E\uFF1A\u672C\u65B9\u6848\u53CA\u76F8\u5E94\u56FA\u4EF6\u5747\u4E3A\u6280\u672F\u63A2\u7D22\u7528\u9014\u3002\u5BF9\u539F\u673A\u8FDB\u884C\u6539\u9020\u9700\u8981\u76F8\u5E94\u4E13\u4E1A\u77E5\u8BC6\u4E14\u53EF\u80FD\u5B58\u5728\u5B89\u5168\u548C\u6CD5\u5F8B\u98CE\u9669\u3002\u4F7F\u7528\u672C\u65B9\u6848\u548C\u56FA\u4EF6\u4EE3\u8868\u60A8\u5DF2\u8BA4\u53EF\u98CE\u9669\u5E76\u81EA\u884C\u627F\u62C5\u540E\u679C\uFF0C\u5305\u62EC\u4E14\u4E0D\u9650\u4E8E\u8D22\u4EA7\u635F\u5931\u3001\u4EBA\u5458\u4F24\u4EA1\u3001\u8FDD\u6CD5\u72AF\u7F6A\u7B49\u3002",-1)),Vu=s(()=>u("p",{style:{"font-weight":"bold","font-size":"1.2em"}},"\u4E00\u3001\u6240\u9700\u5DE5\u5177",-1)),Uu=s(()=>u("p",null," \u5199\u9891\u7EBF\u3002 ",-1)),$u=s(()=>u("p",null," \u8BE5\u6559\u7A0B\u7531 BH3RVG \u706B\u661F\u4EBA\u6574\u7406\u63D0\u4F9B\u3002 ",-1)),Lu=[ju,Vu,Uu,$u],Mu={style:{"text-align":"center"}},Ou={style:{"min-height":"300px","text-align":"center",color:"#C9CDD4"}},zu={style:{"text-align":"left"}},Hu=s(()=>u("p",null,"\u5728\u5BF9\u8BBE\u5907\u8FDB\u884C\u64CD\u4F5C\u524D\uFF0C\u5E94\u5907\u4EFD\u539F\u673A\u51FA\u5382\u7684\u914D\u7F6E\u3001\u6821\u51C6\u6570\u636E\uFF0C\u4EE5\u4FDD\u8BC1\u53D1\u5C04\u6027\u80FD\u7B26\u5408\u56FD\u5BB6\u6807\u51C6\u3002\uFF08\u8BF7\u59A5\u5584\u4FDD\u5B58\u5907\u4EFD\u6587\u4EF6\uFF09",-1)),Nu={style:{color:"#C9CDD4"}},Tu={style:{"text-align":"left"}},Gu=s(()=>u("p",null,[o("\u89C6\u9891\u6559\u7A0B\u94FE\u63A5\uFF1A "),u("a",{href:"https://www.bilibili.com/video/BV1ib4y137Ah",target:"_blank",rel:"noopener noreferrer"},"https://www.bilibili.com/video/BV1ib4y137Ah"),u("span",{style:{color:"#ff0000"}},"\uFF08\u786C\u4EF6\u62C6\u89E3\u53CA\u710A\u63A5\u90E8\u5206\u53EF\u53C2\u7167\u672C\u89C6\u9891\uFF0C\u8F6F\u4EF6\u5237\u673A\u90E8\u5206\u8BF7\u52A1\u5FC5\u4EE5\u672C\u6307\u5357\u4E3A\u51C6\u3002\uFF09")],-1)),Ku=s(()=>u("div",null,[o(" \u2460\u62C6\u6389\u7535\u6C60\u3001\u5929\u7EBF\u548C\u65CB\u94AE\u76D6\u3002"),u("br"),o(" \u2461\u7528\u64AC\u68D2\u63D2\u5165\u4E3B\u673A\u80CC\u9762\u5E95\u90E8\u6B63\u4E2D\u4F4D\u7F6E\u7F1D\u9699\uFF0C\u5411\u4E0A\u64AC\u51FA\u94DD\u5236\u80CC\u677F\u3002\u2462\u5411\u4E0B\u540E\u65B9\u62BD\u51FA\u80CC\u677F\u3002\u524D\u76D6\u548C\u4E3B\u677F\u95F4\u6709\u626C\u58F0\u5668\u5BFC\u7EBF\u8FDE\u63A5\uFF0C\u6B64\u5904\u7528\u529B\u4E0D\u8981\u8FC7\u731B\uFF0C\u63A7\u5236\u5E45\u5EA6\uFF0C\u4EE5\u514D\u62C9\u65AD\u5BFC\u7EBF\u3002"),u("br"),o(" \u2463\u62FF\u6389\u8033\u673A\u53E3\u6321\u677F\u3002"),u("br"),o(" \u2464\u5EFA\u8BAE\u5C06\u626C\u58F0\u5668\u5BFC\u7EBF\u62C6\u710A\uFF0C\u4EE5\u514D\u963B\u788D\u540E\u7EED\u62C6\u89E3\u548C\u710A\u63A5\uFF0C\u5BFC\u81F4\u62C9\u65AD\u5BFC\u7EBF\u3002\u6700\u540E\u7EC4\u88C5\u65F6\u518D\u5BF9\u626C\u58F0\u5668\u5BFC\u7EBF\u8FDB\u884C\u710A\u63A5\u3002"),u("br"),o(" \u2465\u62C6\u5378\u5C4F\u5E55\uFF08\u96BE\u70B9\uFF0C\u8BF7\u8BA4\u771F\u770B\u89C6\u9891\u6559\u7A0B\uFF01\uFF09\u3002\u5728\u5C4F\u5E55\u5DE6\u4E0B\u89D2\u5361\u6263\u4F4D\u7F6E\uFF0C\u7528\u64AC\u68D2\u5411\u5185\u6309\u538B\u540C\u65F6\u5411\u4E0A\u62AC\u8D77\u5373\u53EF\u62C6\u5378\u5DE6\u4FA7\uFF0C\u5C4F\u5E55\u5DE6\u4FA7\u677E\u8131\u540E\u53E6\u4E00\u4FA7\u62C6\u5378\u76F8\u5BF9\u7B80\u5355\u3002\u6B64\u5904\u7528\u529B\u4E0D\u8981\u8FC7\u731B\uFF0C\u63A7\u5236\u5E45\u5EA6\uFF0C\u5C4F\u5E55\u5B8C\u5168\u62C6\u5378\u540E\u5E94\u59A5\u5584\u56FA\u5B9A\uFF0C\u4EE5\u514D\u62C9\u65AD\u3001\u6298\u65AD\u80CC\u9762\u4E0A\u65B9\u6392\u7EBF\u3002"),u("br"),o(" \u2466\u62C6\u5378\u5168\u90E8 5 \u9897\u87BA\u4E1D\u5E76\u5206\u79BB\u80CC\u677F\u3002 ")],-1)),Ju=["src"],Xu=s(()=>u("div",null," \u9700\u8981\u66F4\u6362\u7684\u82AF\u7247\u4F4D\u4E8E\u4E3B\u677F\u80CC\u9762\u53F3\u4E0B\u89D2\uFF0C\u578B\u53F7\u4E3A BL24C64A\u3002 ",-1)),qu=["src"],Qu=s(()=>u("div",null," \u2460\u62C6\u710A\u53CA\u710A\u63A5\u3002\u6709\u52A8\u624B\u80FD\u529B\u7684\u670B\u53CB\u81EA\u884C\u64CD\u4F5C\uFF0C\u8981\u6C42\u82AF\u7247\u65B9\u5411\u6B63\u786E\uFF08\u4EE5\u7B2C1 \u811A\u5706\u70B9\u4E3A\u51C6\uFF09\uFF0C\u710A\u70B9\u9971\u6EE1\uFF0C\u65E0\u865A\u710A\u3001\u77ED\u8DEF\uFF0C\u82AF\u7247\u5468\u56F4\u7684\u7535\u5B50\u5143\u5668\u4EF6\u4FDD\u6301\u5B8C\u597D\u3002\u5EFA\u8BAE\u7528300\u2103\u4EE5\u4E0A\u5C0F\u5200\u5934\u70D9\u94C1\u914D\u5408\u52A9\u710A\u5242\uFF0C\u4E0D\u5EFA\u8BAE\u7528\u70ED\u98CE\u67AA\uFF08\u9AD8\u624B\u9664\u5916\uFF09\u3002\u624B\u6B8B\u515A\u53EF\u4EE5\u53BB\u624B\u673A\u7EF4\u4FEE\u5E97\u66F4\u6362\uFF0C\u8D39\u75285-30 \u5143\u4E0D\u7B49\u3002\u82E5\u5468\u56F4\u5143\u4EF6\u906D\u5230\u7834\u574F\uFF0C\u53EF\u6309\u4E0B\u56FE\u53C2\u6570\u66F4\u6362\u8865\u6551\u3002 ",-1)),Wu=["src"],Yu=s(()=>u("div",null,[o(" \u2461\u5C06\u4E3B\u677F\u88C5\u56DE\u80CC\u677F\u3002\uFF08\u80CC\u677F\u4E0A 3x5mm \u5BFC\u70ED\u7845\u80F6\u57AB\u82E5\u8131\u843D\uFF0C\u8BF7\u52A1\u5FC5\u88C5\u56DE\u5BF9\u5E94\u51F8\u8D77\u4F4D\u7F6E\uFF1B\u7535\u6C60\u89E6\u70B9\u90E8\u5206\u8FC7\u80CC\u677F\u5B54\u65F6\u5F53\u5FC3\u538B\u5F2F\u3002\uFF09"),u("br"),o(" \u2462\u88C5\u5165\u7535\u6C60\uFF0C\u6309\u4F4F PTT \u952E\u5F00\u673A\uFF0C\u8FDB\u5165\u5237\u673A\u6A21\u5F0F\uFF08\u6B64\u65F6\u624B\u7535\u7B52\u5E38\u4EAE\u3001\u5C4F\u5E55\u65E0\u663E\u793A\uFF09\u3002\u5982\u65E0\u6CD5\u8FDB\u5165\u5237\u673A\u6A21\u5F0F\uFF0C\u68C0\u67E5\u7535\u6C60\u63A5\u89E6\u7247\u662F\u5426\u9519\u4F4D\u3001\u710A\u70B9\u53CA\u5468\u8FB9\u5143\u4EF6\u662F\u5426\u5B8C\u597D\u3002 ")],-1)),Zu=s(()=>u("div",{style:{color:"#ff0000","font-weight":"bold"}}," \u6B64\u65F6\u5148\u4E0D\u8981\u5B8C\u5168\u7EC4\u88C5\u624B\u53F0\uFF0C\u5F85\u540E\u7EED\u5DE5\u4F5C\u5168\u90E8\u5B8C\u6210\u540E\u518D\u884C\u7EC4\u88C5\uFF0C\u4EE5\u4FBF\u6545\u969C\u8FD4\u5DE5\u3002\u6B64\u9636\u6BB5\u5982\u5C1D\u8BD5\u6B63\u5E38\u5F00\u673A\u540E\u663E\u793A\u5F02\u5E38\u3001\u7535\u91CF\u5F02\u5E38\u3001\u63A5\u6536\u5F02\u5E38\u7B49\u5747\u4E3A\u6B63\u5E38\u60C5\u51B5\uFF0C\u4E0D\u7528\u62C5\u5FC3\u3002\u540E\u7EED\u64CD\u4F5C\u540E\u4F1A\u6062\u590D\u6B63\u5E38\u3002 ",-1)),u5={style:{"text-align":"left"}},t5=s(()=>u("p",null,"\u65AD\u5F00\u5199\u9891\u7EBF\uFF0C\u6309\u4F4F PTT \u952E\u5F00\u673A\uFF0C\u8FDB\u5165\u5237\u673A\u6A21\u5F0F\uFF08\u6B64\u65F6\u624B\u7535\u7B52\u5E38\u4EAE\u3001\u5C4F\u5E55\u65E0\u663E\u793A\uFF09\uFF0C\u624B\u7535\u7B52\u5E38\u4EAE\u540E\u63D2\u56DE\u5199\u9891\u7EBF\u3002",-1)),e5={style:{"text-align":"left"}},F5=s(()=>u("p",null,"\u6B63\u5E38\u5F00\u673A\uFF0C\u4F7F\u8BBE\u5907\u5904\u4E8E\u5F00\u673A\u72B6\u6001\uFF0C\u70B9\u51FB\u5237\u56DE\u5907\u4EFD\u6570\u636E\u3002",-1)),o5={style:{"text-align":"left"}},E5=s(()=>u("p",null,"\u6B63\u5E38\u5F00\u673A\uFF0C\u4F7F\u8BBE\u5907\u5904\u4E8E\u5F00\u673A\u72B6\u6001\uFF0C\u70B9\u51FB\u5237\u5165\u5B57\u5E93\u3002",-1)),s5=s(()=>u("div",{style:{"text-align":"left"}},"\u5982\u679C\u6269\u5BB9\uFF0C\u6309\u62C6\u89E3\u987A\u5E8F\u8FDB\u884C\u710A\u63A5\u548C\u7EC4\u88C5\u3002",-1)),n5={style:{"text-align":"center"}},a5={style:{"min-height":"300px","text-align":"center",color:"#C9CDD4"}},l5={name:"Chi"},i5=z({...l5,setup(h){const i=M(),w=au(),t=H({step:1,flashStep:["one"],backed:void 0,kIt:void 0,flashIt:!1,restoreBackupIt:!1,loading:!1,flashFontIt:!1,finish:!1}),v=async(l,E,C=new Date+"_backup.bin")=>{var D;await g(i.connectPort);let a=new Uint8Array(E-l);for(let n=l;n<E;n+=128){const p=await ru(i.connectPort,n,128,(D=i.configuration)==null?void 0:D.uart);a.set(p,n-l)}const B=new Blob([a],{type:"application/octet-stream"}),_=URL.createObjectURL(B),A=document.createElement("a");return A.href=_,A.download=C,document.body.appendChild(A),A.click(),document.body.removeChild(A),URL.revokeObjectURL(_),a},m=async(l=0,E)=>{var C;await g(i.connectPort);for(let a=l;a<E.length+l;a+=128)await Au(i.connectPort,a,E.slice(a-l,a-l+128),128,(C=i.configuration)==null?void 0:C.uart);await _u(i.connectPort)},y=()=>{t.flashStep[0]="six",t.finish=!0},I=async()=>{if(i.connectState!=!0){alert("\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002");return}t.loading=!0,t.backed=await v(0,8192),console.log(t.backed),t.loading=!1},x=async()=>{t.loading=!0;let l;t.kIt=="yes"?l=await fetch("/LOSEHU117P6K.bin"):l=await fetch("/LOSEHU117P6.bin");const E=l.body.getReader(),C=[];for(;;){const{done:D,value:n}=await E.read();if(D)break;C.push(...n)}const a=new Uint8Array(C);i.connectPort&&await lu(i.connectPort);let B=await iu();await k(B,24,1e3);const _=Cu(a),A=new Uint8Array([48,5,_.length,0,..._]);await Bu(B,A),await k(B,24),await du(B,cu(a)),i.updateSettings({connectPort:B}),t.flashIt=!0,t.loading=!1},S=async()=>{if(i.connectState!=!0){alert("\u70B9\u51FB\u53F3\u4E0A\u89D2\u201C\u8FDE\u63A5\u201D\u6309\u94AE\u8FDE\u63A5\u624B\u53F0\u3002");return}t.loading=!0,await m(0,t.backed),t.restoreBackupIt=!0,t.loading=!1},P=async()=>{t.loading=!0;const E=(await fetch("/old_font.bin")).body.getReader(),C=[];for(;;){const{done:B,value:_}=await E.read();if(B)break;C.push(..._)}const a=new Uint8Array(C);await m(8192,a),t.flashFontIt=!0,t.loading=!1};return(l,E)=>{const C=N("Breadcrumb"),a=K,B=J,_=X,A=q,D=Q,n=W,p=Y,f=Z,R=uu,j=tu,V=eu,U=Fu,$=ou,L=Eu;return T(),G("div",hu,[e(C,{items:["\u6307\u5357","\u4F7F\u7528117P6\u7248"]}),e(L,{gutter:20,align:"stretch"},{default:F(()=>[e($,{span:24},{default:F(()=>[e(U,{class:"general-card",title:"\u4F7F\u7528117P6\u7248"},{default:F(()=>[e(B,{current:t.step},{default:F(()=>[e(a,null,{default:F(()=>[o("\u9009\u62E9\u56FA\u4EF6\u7C7B\u578B")]),_:1}),e(a,null,{default:F(()=>[o("\u4F7F\u7528\u81EA\u5B9A\u4E49\u56FA\u4EF6")]),_:1}),e(a,null,{default:F(()=>[o("\u5B8C\u6210")]),_:1})]),_:1},8,["current"]),e(_),c(u("div",bu,[mu,e(D,{type:"button",modelValue:t.kIt,"onUpdate:modelValue":E[0]||(E[0]=d=>t.kIt=d)},{default:F(()=>[e(A,{value:"yes"},{default:F(()=>[o("\u662F\u7684\uFF0C\u6211\u60F3\u8981\u786C\u4EF6\u6539\u9020\u6211\u7684\u8BBE\u5907")]),_:1}),e(A,{value:"no"},{default:F(()=>[o("\u4E0D\uFF0C\u6211\u4E0D\u9700\u8981\u4E2D\u6587\u4FE1\u9053")]),_:1})]),_:1},8,["modelValue"]),yu,c(u("div",null,Ru,512),[[r,t.kIt=="yes"]]),c(u("div",null,Lu,512),[[r,t.kIt=="no"]])],512),[[r,t.step==1]]),c(u("div",Mu,[e(n,{type:"primary",disabled:!t.kIt,onClick:E[1]||(E[1]=d=>t.step=2)},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1},8,["disabled"])],512),[[r,t.step==1]]),c(u("div",Ou,[e(j,{loading:t.loading,tip:"\u5904\u7406\u4E2D...",style:{width:"100%"}},{default:F(()=>[e(R,{activeKey:t.flashStep,onChange:E[6]||(E[6]=d=>{t.flashStep=d,d[0]=="six"&&(t.finish=!0)}),accordion:""},{default:F(()=>[e(f,{header:"\u5907\u4EFD\u539F\u673A\u6570\u636E",key:"one"},{default:F(()=>[u("div",zu,[Hu,u("p",null,[e(p,null,{default:F(()=>[e(n,{type:"primary",disabled:t.backed,onClick:I},{default:F(()=>[o("\u5907\u4EFD")]),_:1},8,["disabled"]),c(u("span",Nu,"\u5DF2\u5907\u4EFD\u2714",512),[[r,t.backed]]),o("\xA0 "),e(n,{type:"primary",disabled:!t.backed,onClick:E[2]||(E[2]=d=>t.kIt=="yes"?t.flashStep[0]="two":t.flashStep[0]="three")},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1},8,["disabled"])]),_:1})])])]),_:1}),c(e(f,{header:"\u62C6\u673A",key:"two"},{default:F(()=>[u("div",Tu,[Gu,Ku,u("img",{src:b(pu)},null,8,Ju),Xu,u("img",{src:b(Du)},null,8,qu),Qu,u("img",{src:b(fu)},null,8,Wu),Yu,Zu,u("div",null,[e(n,{type:"primary",onClick:E[3]||(E[3]=d=>t.flashStep[0]="three")},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1})])])]),_:1},512),[[r,t.kIt=="yes"]]),e(f,{header:"\u5237\u5165\u56FA\u4EF6",key:"three"},{default:F(()=>[u("div",u5,[t5,u("p",null,[e(p,null,{default:F(()=>[e(n,{type:"primary",disabled:t.flashIt,onClick:x},{default:F(()=>[o("\u5237\u5165\u56FA\u4EF6")]),_:1},8,["disabled"]),e(n,{type:"primary",disabled:!t.flashIt,onClick:E[4]||(E[4]=d=>t.kIt=="yes"?t.flashStep[0]="four":y())},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1},8,["disabled"])]),_:1})])])]),_:1}),c(e(f,{header:"\u5237\u56DE\u539F\u673A\u6570\u636E",key:"four"},{default:F(()=>[u("div",e5,[F5,u("p",null,[e(p,null,{default:F(()=>[e(n,{type:"primary",disabled:t.restoreBackupIt,onClick:S},{default:F(()=>[o("\u5237\u56DE\u5907\u4EFD\u6570\u636E")]),_:1},8,["disabled"]),e(n,{type:"primary",disabled:!t.restoreBackupIt,onClick:E[5]||(E[5]=d=>t.flashStep[0]="five")},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1},8,["disabled"])]),_:1})])])]),_:1},512),[[r,t.kIt=="yes"]]),c(e(f,{header:"\u5237\u5165\u5B57\u5E93",key:"five"},{default:F(()=>[u("div",o5,[E5,u("p",null,[e(p,null,{default:F(()=>[e(n,{type:"primary",disabled:t.flashFontIt,onClick:P},{default:F(()=>[o("\u5237\u5165\u5B57\u5E93")]),_:1},8,["disabled"]),e(n,{type:"primary",disabled:!t.flashFontIt,onClick:y},{default:F(()=>[o("\u4E0B\u4E00\u6B65")]),_:1},8,["disabled"])]),_:1})])])]),_:1},512),[[r,t.kIt=="yes"]]),e(f,{header:"\u5B8C\u5168\u7EC4\u88C5",key:"six"},{default:F(()=>[s5]),_:1})]),_:1},8,["activeKey"])]),_:1},8,["loading"])],512),[[r,t.step==2]]),c(u("div",n5,[e(p,null,{default:F(()=>[e(n,{onClick:E[7]||(E[7]=d=>t.step=1)},{default:F(()=>[o("\u4E0A\u4E00\u6B65")]),_:1}),e(n,{type:"primary",disabled:!t.finish,onClick:E[8]||(E[8]=d=>t.step=3)},{default:F(()=>[o("\u5B8C\u6210")]),_:1},8,["disabled"])]),_:1})],512),[[r,t.step==2]]),c(u("div",a5,[e(V,{class:"result",status:"success",subtitle:"\u5237\u5165\u6210\u529F"}),e(n,{type:"primary",onClick:E[9]||(E[9]=()=>{b(w).push("/chirp/base")})},{default:F(()=>[o(" \u8FD4\u56DE\u9996\u9875 ")]),_:1})],512),[[r,t.step==3]])]),_:1})]),_:1})]),_:1})])}}});const b5=O(i5,[["__scopeId","data-v-45bd3fff"]]);export{b5 as default};
|