fix: acct_mgmt_button

This commit is contained in:
Cindy Chang
2024-07-15 15:39:59 +08:00
parent 4c9633a395
commit cab484ac00
4 changed files with 24 additions and 287 deletions

View File

@@ -334,6 +334,10 @@ export default defineComponent({
[inputPwd, inputConfirmPwd],
([newPwd, newConfirmPwd]) => {
isPwdMatched.value = newPwd === newConfirmPwd && newPwd.length;
// 只要[確認密碼]或[密碼]有更動confirm 按鈕就可點選
if (newPwd || newConfirmPwd) {
// isConfirmDisabled.value = false;
}
}
)
});

View File

@@ -28,10 +28,10 @@
</template>
<script>
import { defineComponent, ref, computed, onBeforeMount, watch, } from 'vue';
import { defineComponent, } from 'vue';
import { useModalStore } from '@/stores/modal.js';
import { useRouter } from 'vue-router';
import useAcctMgmtStore from '@/stores/acctMgmt.js';
import useAcctMgmtStore from '@/stores/acctMgmt';
import i18next from '@/i18n/i18n.js';
import { useToast } from 'vue-toast-notification';