@@ -23,7 +23,7 @@ export default class Empty extends Vue {
input = ''
created () {
- this.input = this.defalultValue
+ this.input = this.defalultValue || ''
}
onSearch () {
@@ -128,7 +128,7 @@ export default class extends Vue {
})
- this.getListDetail({ B: true }).then((res) => {
+ this.getListDetail({ B: true }).then((res: any) => {
console.log(res)
if (res.error_code === 0) {
this.response.balance = res.points.balance
@@ -62,7 +62,7 @@ export default class extends Vue {
setSession () {
- let paydata = sessionStorage.getItem('paydata')
+ let paydata: any = sessionStorage.getItem('paydata')
console.log(paydata)
if (paydata) {
paydata = JSON.parse(paydata)