马宇豪
2025-03-20 e4ffb2e23c86c452c81d485d4eb613f17ddaea97
src/views/templateManage/index.vue
@@ -1,10 +1,12 @@
<template>
  <div class="app-container">
    <div style="display: flex;justify-content: space-between;margin-bottom: 20px">
    <div style="display: flex;justify-content: space-between;margin-bottom: 10px">
      <el-form :inline="true" style="display: flex;align-items: center;flex-wrap: wrap;" >
        <el-form-item>
          <el-button
              type="primary"
              plain
              icon="Plus"
              @click="addProject('add',{})"
          >
            新增模板
@@ -106,9 +108,7 @@
/** 重置新增的表单以及其他数据  */
function reset() {
  data.queryParams = {
    pageNum: 1,
    pageSize: 10,
    name: ''
    templateName: ''
  }
  getList()
}