fix: 列表模块全局组件修复内容

dev-deviceSetting
donghao 1 year ago
parent 9d65dc862d
commit d8541cbe9b

@ -2,7 +2,7 @@
* @Author: donghao donghao@supervision.ltd * @Author: donghao donghao@supervision.ltd
* @Date: 2024-01-18 14:27:25 * @Date: 2024-01-18 14:27:25
* @LastEditors: donghao donghao@supervision.ltd * @LastEditors: donghao donghao@supervision.ltd
* @LastEditTime: 2024-01-18 15:29:02 * @LastEditTime: 2024-02-21 15:08:35
* @FilePath: \General-AI-Platform-Web-Client\src\components\CustomTable\src\column.vue * @FilePath: \General-AI-Platform-Web-Client\src\components\CustomTable\src\column.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--> -->
@ -31,6 +31,8 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed, ref, watch } from "vue";
interface ModalProps { interface ModalProps {
visible: boolean; visible: boolean;
columns: XTableColumn[]; columns: XTableColumn[];

@ -308,13 +308,13 @@ export default defineComponent({
/**操作按钮事件 */ /**操作按钮事件 */
function handleDel(row) { // function handleDel(row) {
console.log(row, "handleDel"); // console.log(row, "handleDel");
emit("actions", { // emit("actions", {
type: "delete", // type: "delete",
data: { ...row } // data: { ...row }
}); // });
} // }
/** /**
* *

Loading…
Cancel
Save