Browse Source

fix: add指令模版修改

guoxiaoxiao8 4 years ago
parent
commit
13fac072a7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      jd/demo.js

+ 3 - 3
jd/demo.js

@@ -5,8 +5,8 @@ var demoModel = function(nameLc) {
     <div class="demo">
       <h2>基础用法</h2>
       <nut-cell>
-        <nut-temp name="wifi"></nut-temp>
-        <nut-temp name="mail" txt="test txt"></nut-temp>
+        <${nameLc} ></${nameLc}>
+        <${nameLc} ></${nameLc}>
       </nut-cell>
     </div>
   </template>
@@ -23,7 +23,7 @@ var demoModel = function(nameLc) {
   </script>
   
   <style lang="scss" scoped>
-  .nut-temp {
+  .demo{
   }
   </style>
   `,