You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
547 B
25 lines
547 B
<script setup> |
|
import {ref, watch} from 'vue' |
|
|
|
const pwd = ref('123321') |
|
|
|
const emits = defineEmits(['get_card_pwd']) |
|
|
|
watch(() => pwd.value, () => { |
|
console.log(pwd.value) |
|
emits("getCardPwd", pwd.value) |
|
}) |
|
</script> |
|
|
|
<template> |
|
<el-row style="margin: 20px 0 20px 0"> |
|
<el-col :span="2"><label style="font-size: 14px; margin-left: 20px">会员卡密码:</label></el-col> |
|
<el-col :span="7"> |
|
<el-input style="margin-left: 20px" size="small" v-model="pwd"></el-input> |
|
</el-col> |
|
</el-row> |
|
</template> |
|
|
|
<style scoped> |
|
|
|
</style> |