Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

child component name Contains uppercase letters ,error not show 、ref undefined #100

Open
3400442579 opened this issue Nov 3, 2023 · 0 comments · May be fixed by #335
Open

child component name Contains uppercase letters ,error not show 、ref undefined #100

3400442579 opened this issue Nov 3, 2023 · 0 comments · May be fixed by #335
Assignees
Labels

Comments

@3400442579
Copy link

<!-- parent component -->

<div @name="nue_add">
    sum: { a } + { b } = <sum :a="a" :b="b"></sum>
    <br />
    Ab: { a } + { b } = <Ab :a="a" :b="b"></Ab>
    <script>
        a = 10
        b = 100
        mounted() {
            console.info(this.$refs['sum'])
            console.info(this.$refs['Ab'])  //show undefined
        }
    </script>
</div>

<span @name="sum">
    { a + b }
</span>

<span @name="Ab">
    { a } { b }
</span>

image

@tipiirai tipiirai added the bug label Nov 3, 2023
@tipiirai tipiirai self-assigned this Nov 3, 2023
@tipiirai tipiirai added the low priority Done later label Mar 25, 2024
nobkd added a commit to nobkd/nue that referenced this issue Aug 20, 2024
@nobkd nobkd linked a pull request Aug 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants