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

The subcomponent data is not updated #2429

Open
YaminZheng opened this issue Dec 27, 2024 · 0 comments
Open

The subcomponent data is not updated #2429

YaminZheng opened this issue Dec 27, 2024 · 0 comments

Comments

@YaminZheng
Copy link

Reproduction

https://play.vuejs.org/#eNqNVt1u40QUfpVT70VTkdhpu9oLk0aFslJBLKy6K27iXEzsSezWnjGecX5U5RrBxd7zBohbbpC44GVgBW/BNzOx49B2Qats7TnfOec7P/Ml917BMuHfKi/0sqKUlaZ7iivONP+kLGlL80oWdLys+XEkWkAla82r1uoH7mAPMb6NjZWl7/wj0Ubu4XMSCSK/Vrzn3N17IWuhe8fP4HZ84vW9nTv4jTQvyhz+YwMcpafja57n0iQ7GgV4tcfl+CrP4jvSKacdm1mttRTEREIbWdMqy3NSnFsIqyq2oThlYsET0pImp/2z/vnUp7cpF7SQ5swAr2XBv8n4ypCheZbzPiU859qFiWVRcKH7FD+VfIE+9x/jwLSFJ0wzSpkiIXXDZxSUrigzJPuE5ze1KrlQrgv25Ma2z5CjoEEFB7BRsIswCtomoreu775+ZPqveCGrzXWmNP6gLHvoEnW3YtBOvp1906h2Abqds0C+tsBYCqWbXbo4SNG7N6xTlz18jFLvpG8g1luFNLmnkuk0pMgLIg98JcgITCTc89lO4bLFlqHyLiezWiquslJjIrouKUfzLyJPq8hDy/Zbz+dN6ZEHv8j7uLVepVmeNDY/sK8mtsVg712pKzbL+efWgydfohCUjai9yZQweCY2k+kJ8A4dmxg3yGkxI1jHPWNt7FI0kYDo5YgW7kLQxZhsAx8m9Jcsx/5ekMEj2BafUeCqR614ObxkR4MB/fnut/fvvv/r9x//+PXn97/89Pd3P9Dks2b1M4VQgk9pMHAetnS3hKCNNjZ1RJ47XQ4KiZsDy0N6DSZ0beUJUPs6WyvKfF3JEsajw+hm/TsrbkftQg0KVkLmpMC0bW+inQFDDl23zNl+pc1x5KValyoMglqUdwsfWxXsEZfP/XN/GCTg3Tn1uSoGs0quFJ5vEd3uqYl9CVCQ8KWWMlcDVmZPpXgAvHzhv/BPgzybBYgeZCLhaxvbhN5iiihTK6zFPFv8q0hzESBW1delzrA2B8UyqOfqC3umq5q3ROOUx3ePnN+qtaP8uuKobontbm2aVQuO+Rnzyzdf8TWeWyMGXudAf8B4w5XMa8PRwT6tRQLaHZxl61YhE4u36uVaQ9+aogxR2w2Lt4O8+kDpe7rn/vNOF5Xe5Fz5sTKSKNiyT0Y4nd9MVgmvQjor1wSyWULPhsMhLhABVC0yMZhJaH0R0umwXNvzkiUJyLYnyBIJhKUxMfoIHxt4553zOa5wF5medTPvw+8JxHHcIRDSEP/OdhFQTqtD/1fjEj7HbTaXS5nvN/PyytzWPqnUDsAI0gMRRACB1Z+zmJP1dbSbSxxCnrrahKemQidlpfW56GYf2f+d4jmQ/YJsMJaU0cTJdNwz0vxtnVUmk9kD2nZ1smIruO3pN15sxTJNXcU9UFSmNiJ+SlcZvjgOhZTIxbOl+E3lvYnv+wZhs/yH2N6j/abGLToDId39cLi0vygOdLCH3yh01qfz6Qmm53KNAod/IIDbfwDEImVc

Steps to reproduce the bug

  1. Click the import button and you will see the array changed to [1,2,3]
  2. To HomeView.vue file, del comment
  3. Click import button again
  4. Data has not changed

Expected behavior

Data change

Actual behavior

No change

Additional information

If this is intentional, please throw an error, otherwise the problem is really hard for developers to find

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant