MCPcopy Create free account
hub / github.com/bug-hou/simple-vue / setup

Function setup

example/patchChild/textToArray.js:8–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export default {
7 name: "lksdfjs",
8 setup() {
9 const isChange = ref(false);
10 window.isChange = isChange;
11 return {
12 isChange
13 }
14 },
15 render() {
16 const self = this;
17 // return h("div", {}, [h("div", {}, "A"), h("div", {}, "B")])

Callers

nothing calls this directly

Calls 1

refFunction · 0.90

Tested by

no test coverage detected