Эх сурвалжийг харах

1. 优化代码生成模版
2. 优化 Vue2 所在目录

YunaiV 2 жил өмнө
parent
commit
79eb90d653

+ 2 - 4
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/form.vue.vm

@@ -115,10 +115,8 @@
 #end
     </el-form>
     <template #footer>
-      <div class="dialog-footer">
-        <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
-        <el-button @click="modelVisible = false">取 消</el-button>
-      </div>
+      <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
+      <el-button @click="modelVisible = false">取 消</el-button>
     </template>
   </Dialog>
 </template>

+ 4 - 4
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm

@@ -1,5 +1,5 @@
 <template>
-  <content-wrap>
+  <ContentWrap>
     <!-- 搜索工作栏 -->
     <el-form
       class="-mb-15px"
@@ -114,10 +114,10 @@
         </el-button>
       </el-form-item>
     </el-form>
-  </content-wrap>
+  </ContentWrap>
 
   <!-- 列表 -->
-  <content-wrap>
+  <ContentWrap>
     <el-table v-loading="loading" :data="list">
     #foreach($column in $columns)
       #if ($column.listOperationResult)
@@ -171,7 +171,7 @@
       v-model:limit="queryParams.pageSize"
       @pagination="getList"
     />
-  </content-wrap>
+  </ContentWrap>
 
   <!-- 表单弹窗:添加/修改 -->
   <${simpleClassName}Form ref="formRef" @success="getList" />

+ 0 - 0
yudao-ui-admin/src/views/system/sms/smsChannel.vue → yudao-ui-admin/src/views/system/sms/channel/index.vue


+ 0 - 0
yudao-ui-admin/src/views/system/sms/smsLog.vue → yudao-ui-admin/src/views/system/sms/log/index.vue


+ 0 - 0
yudao-ui-admin/src/views/system/sms/smsTemplate.vue → yudao-ui-admin/src/views/system/sms/template/index.vue