import The concept of scope , That is, only import Defined in the target file template, Not really import Target file import Of template
<!-- A.wxml --> <template name="A"> <text> A template </text> </template> <!--
B.wxml --> <import src="a.wxml"/> <template name="B"> <text> B template </text>
</template> <!-- C.wxml --> <import src="b.wxml"/> <template is="A"/> <!--
Error cannot be referenced at multiple levels A --> <template is="B"/>
include You can delete the target file Outside the entire code import , It's equivalent to copying to include
<!-- index.wxml --> <include src="header.wxml"/> <view> body </view> <include
src="footer.wxml"/> <!-- header.wxml --> <view> header </view> <!-- footer.wxml
--> <view> footer </view>

Technology
©2019-2020 Toolsou All rights reserved,
Hundreds of millions of locusts rarely collide Locusts want to be self driving Heroes Share has surpassed Ningde Era !LG Chemical confirmation to spin off battery business unit TypeScript Data types in is enough Python Garbage collection and memory leak msf Generate Trojan horse attack android mobile phone Element-UI Implementation of secondary packaging TreeSelect Tree drop-down selection component element-ui+vue-treeselect Verification of drop down box Spring Boot Lesson 16 :SpringBoot Implementation of multithreading with injection class A guess number of small games , use JavaScript realization Unity3D Input Key system