File tree Expand file tree Collapse file tree 2 files changed +10
-25
lines changed
neuron-ui/src/widgets/Dialog
neuron-wallet/src/controllers Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 55 padding : 0 ;
66 position : relative ;
77
8- /* 對話框背景遮罩 */
98 & ::backdrop {
109 @include overlay ;
1110 }
1211}
1312
14- /* 對話框頭部 */
1513.header {
1614 position : -webkit-sticky ;
1715 position : sticky ;
4745 }
4846}
4947
50- /* 對話框內容區域 */
5148.content {
5249 padding : 20px 16px ;
5350 position : relative ;
5451 max-height : calc (100vh - 260px );
5552 overflow-y : auto ;
5653
57- /* 隱藏滾動條但保持滾動功能 */
5854 & ::-webkit-scrollbar {
5955 width : 0 ;
6056 }
6157}
6258
63- /* 對話框底部區域 */
6459.footerWrap {
6560 height : 104px ;
6661}
Original file line number Diff line number Diff line change @@ -20,30 +20,20 @@ import MultisigConfigDbChangedSubject from '../models/subjects/multisig-config-d
2020import { LightRPC } from '../utils/ckb-rpc'
2121import SyncProgressService from '../services/sync-progress'
2222
23+ interface MultisigConfigItem {
24+ sighash_addresses : string [ ]
25+ require_first_n : number
26+ threshold : number
27+ alias ?: string | string [ ]
28+ lockCodeHash : string | string [ ]
29+ }
30+
2331interface MultisigConfigOutput {
24- multisig_configs : Record <
25- string ,
26- {
27- sighash_addresses : string [ ]
28- require_first_n : number
29- threshold : number
30- alias ?: string | string [ ]
31- lockCodeHash : string | string [ ]
32- }
33- >
32+ multisig_configs : Record < string , MultisigConfigItem >
3433}
3534
3635interface MultisigConfigInput {
37- multisig_configs : Record <
38- string ,
39- {
40- sighash_addresses : string [ ]
41- require_first_n : number
42- threshold : number
43- alias ?: string
44- lockCodeHash ?: string | string [ ]
45- }
46- >
36+ multisig_configs : Record < string , Omit < MultisigConfigItem , 'lockCodeHash' > & { lockCodeHash ?: string | string [ ] } >
4737}
4838
4939const validateImportConfig = ( configOutput : MultisigConfigInput ) => {
You can’t perform that action at this time.
0 commit comments