File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ export default class JehMaker extends Vue {
283283 }
284284
285285 exportUrl () {
286+ let json = { fee: this .fee , phases: this .phases , taux: this .taux }
286287 this .$router .push ({ name: ' phases' , params: { phases: utf8ToB64 (JSON .stringify (json )) } })
287288 this .url = window .location .href
288289 this .$copyText (this .url )
@@ -297,12 +298,14 @@ export default class JehMaker extends Vue {
297298 let jsonImported = JSON .parse (b64ToUtf8 (b64 ))
298299 this .fee = jsonImported .fee
299300 this .phases = jsonImported .phases
301+ this .taux = jsonImported .taux
300302 }
301303
302304 importUrl () {
303305 let urlSplit = this .urlImport .split (' /' )
304306 if (urlSplit .length > 2 && urlSplit [urlSplit .length - 2 ] === ' p' ) {
305307 this .importFromB64 (urlSplit [urlSplit .length - 1 ])
308+ this .calculate ()
306309 }
307310 }
308311}
Original file line number Diff line number Diff line change 1515 <tbody >
1616 <tr v-for =" label in Object.keys(content)" v-bind:key =" label" >
1717 <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 >
1919 </tr >
2020
2121 </tbody >
You can’t perform that action at this time.
0 commit comments