使用tanstack/vue-query
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
class="my-custom-class"
|
||||
:columns="props.columns"
|
||||
:data="previewRecord"
|
||||
:column="1"
|
||||
:column="3"
|
||||
size="mini"
|
||||
></ma-info>
|
||||
</a-modal>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive } from "vue"
|
||||
import { ref } from "vue"
|
||||
import MaInfo from "@/components/ma-info/index.vue"
|
||||
// 提供open方法给外界,并获取整行数据
|
||||
const visible = ref(false)
|
||||
|
||||
@@ -199,7 +199,6 @@ const useCrudInit = function () {
|
||||
}
|
||||
]
|
||||
},
|
||||
// 这是只为了搜索的字段
|
||||
{
|
||||
title: "时间范围",
|
||||
hide: true,
|
||||
@@ -261,6 +260,7 @@ const useCrudInit = function () {
|
||||
hide: true,
|
||||
search: false,
|
||||
formType: "select",
|
||||
allowCreate: true,
|
||||
dict: { name: "devplant", props: { label: "title", value: "key" } }
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user