@xizs/nuxt-antui 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,6 +86,7 @@ export type AttributeType = {
86
86
  page:number,
87
87
  pageSize: number,
88
88
  tableData: any[],
89
+ metaTableData:any[],
89
90
  form:any
90
91
  }
91
92
 
@@ -186,6 +187,7 @@ export default defineComponent({
186
187
  pagination.total = res.meta.pagination.total
187
188
  pagination.pageSize = res.meta.pagination.per_page
188
189
  pagination.page = res.meta.pagination.current_page
190
+ props.attribute.metaTableData = JSON.parse(JSON.stringify(res.list))
189
191
  props.attribute.tableData = res.list
190
192
  return res.list
191
193
  },[])
@@ -132,10 +132,10 @@ export const Confirm = {
132
132
  // const { t: $t } = useI18n()
133
133
  return new Promise((resolve, reject) => {
134
134
  Modal.confirm({
135
- title: ('确认删除'),
136
- content: ('确认删除该条数据吗?'),
137
- okText: ('确定'),
138
- cancelText: ('取消'),
135
+ title: '确认删除',
136
+ content: '确认删除该条数据吗?',
137
+ okText: '确定',
138
+ cancelText: '取消',
139
139
  onOk: () => {
140
140
  resolve(true)
141
141
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xizs/nuxt-antui",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",