doc bug? #10286
Unanswered
startjava
asked this question in
Help/Questions
doc bug?
#10286
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://vuejs.org/guide/essentials/template-syntax.html#dynamic-argument-value-constraints
Dynamic Argument Value Constraints
Dynamic arguments are expected to evaluate to a string, with the exception of null. The special value null can be used to explicitly remove the binding. Any other non-string value will trigger a warning.
my html code:
<title>Title</title>网址2
网址3
my js code:
import {createApp} from 'vue'
createApp({
setup() {
let url = "http://www.baidu.com";
let attributename1 = "href";
let attributename2 = null;
let attributename3 = true;
}).mount("#mydiv");
run result F12 no warning !
but doc say has warning , doc bug?
Beta Was this translation helpful? Give feedback.
All reactions