File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ export default class JehMaker extends Vue {
283
283
}
284
284
285
285
exportUrl () {
286
+ let json = { fee: this .fee , phases: this .phases , taux: this .taux }
286
287
this .$router .push ({ name: ' phases' , params: { phases: utf8ToB64 (JSON .stringify (json )) } })
287
288
this .url = window .location .href
288
289
this .$copyText (this .url )
@@ -297,12 +298,14 @@ export default class JehMaker extends Vue {
297
298
let jsonImported = JSON .parse (b64ToUtf8 (b64 ))
298
299
this .fee = jsonImported .fee
299
300
this .phases = jsonImported .phases
301
+ this .taux = jsonImported .taux
300
302
}
301
303
302
304
importUrl () {
303
305
let urlSplit = this .urlImport .split (' /' )
304
306
if (urlSplit .length > 2 && urlSplit [urlSplit .length - 2 ] === ' p' ) {
305
307
this .importFromB64 (urlSplit [urlSplit .length - 1 ])
308
+ this .calculate ()
306
309
}
307
310
}
308
311
}
Original file line number Diff line number Diff line change 15
15
<tbody >
16
16
<tr v-for =" label in Object.keys(content)" v-bind:key =" label" >
17
17
<td >{{label}}</td >
18
- <td ><sui-input class =" w-100" v-model =" content[label]" @input =" handleInput" type =" text " /></td >
18
+ <td ><sui-input class =" w-100" v-model =" content[label]" @input =" handleInput" type =" number " /></td >
19
19
</tr >
20
20
21
21
</tbody >
You can’t perform that action at this time.
0 commit comments