Can't variables in vuejs data be passed to the function as arguments?

I have a general function func, to change the value of variables in data, but can"t variables in data be passed to the function as arguments?

<template>
    <div>
        <button @click="click1">btn1</button>
        <button @click="click2">btn2</button>
    </div>

</template>

<script>
import card1 from ***
import card2 from ***

data () {
    return {
        card1,
        card2
    }  
},

method: {
    
    click1 () {
        this.func(this.card1)
    }
    
    click2 () {
        this.func(this.card2)
    }
    
    // 
    func (card) {
        card = "***"
    }
}
</script>
Mar.28,2021


:<br>:

click1 () {
    this.func((res) => {
        this.card1 = res
    })
}
func(callback) {
    callback('xxxx');
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b382a4-2c0d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b382a4-2c0d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?