Home > other >  Vant message dialog components used in the v - for problems
Vant message dialog components used in the v - for problems

Time:09-26


UI is the effect picture

Image. Jpg1056 x 1140 129 KB

The wine list I use a p tag v - a for loop

Image. Png3230 x 568 128 KB

In the second figure under the code of the runtime such

Image. Jpg1012 x 778 74.5 KB

When I change the code to shown below

Image. Png2866 x 324 92.1 KB

Appears the wrong don't know how to spell string for great god teach

Image. Png1412 x 640 82.4 KB

CodePudding user response:

https://youzan.github.io/vant/#/zh-CN/dialog
It is not provided, any way to component calls

Image. Png752 x 419 5.06 KB

Using the component invocation, v - for can have effect

CodePudding user response:

How can I modify got one afternoon

CodePudding user response:

String concatenation words, is not is processed by the vue - loader, so there will be no effect,

CodePudding user response:

His other one method, manual together?

CodePudding user response:

Thank you resolved into the erroneous zone has been written in the message

CodePudding user response:

This is to write directly in the vant UI dialog component and functional diagram is so now can't think of any other good method

CodePudding user response:

The original poster is how to solve the problem, I also met today, I want to in the dialog message according to the content of dynamic display the values in the input box to prompt, anyway take less than dynamic value
  • Related