Ver código fonte

11-11-10:19

判断添加的内容形式
Sean 5 meses atrás
pai
commit
f46e5a1571
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      src/views/website/creatWebsite.vue

+ 7 - 0
src/views/website/creatWebsite.vue

@@ -64,6 +64,12 @@
             :h="item.h"
           >
             <div class="grid-item-content">
+              <!-- 模块内容 --> 
+              <div v-if="item.type == 1">
+                111
+              </div>
+
+
 
               {{ item.content }}
               <button @click="openWindow(item)">编辑</button>
@@ -148,6 +154,7 @@ export default {
          y: 0, 
          w: 12, 
          h: 1, 
+         type: type, //1=顶部菜单(含登录) ..
          content:""});
     },