for example, there is a global variable STS . The js file in which this variable is located is injected into our page by the client. After it is injected into the page and initialized, a ready event is executed. However, the injection time of this js...
question 1: when initializing the page, you need to determine whether the value of the arr2 array is the same as that of the arr array, and if so, add the corresponding background color arr2: []. {key: ,text: }, {key: ,text: }, {key: ,te...
my prompt box component is called dialog,. I want to encapsulate it as an attribute of Vue. Write this.$dialog ({.}) directly in the js logic to define the incoming value, and then you can call it. What to do, I have already written the component, and ...
currently only know the scan line algorithm (that is, the up and down, left and right scan), but the effect is not very ideal. I don t know if there are any other good algorithms. ...
for example, drag a line from the list of components a to component b, which has four div. How do you detect which div you dragged to on the b component? To get the value passed by component a? ...
method 1: in the parent component of a recursive component: <plan-preview :sectionList="sectionList">< plan-preview> Recursive component: <plan-section-list v-if="section.children" :sectionList="section.child...