Git Product home page Git Product logo

Comments (3)

xiaoxian521 avatar xiaoxian521 commented on June 10, 2024

对应问题在对应仓库 提问 https://github.com/pure-admin/pure-admin-table/issues
最好提供视频

from vue-pure-admin.

liguang-5896 avatar liguang-5896 commented on June 10, 2024
<script setup lang="ts"> import { ref } from "vue"; import { tableDataMore } from "./data"; const showTable = ref(1); const props = withDefaults( defineProps<{ height?: string; }>(), { height: null } ); const columns: TableColumnList = [ { label: "日期", prop: "date", width: "260", fixed: true }, { label: "姓名", prop: "name", width: "260" }, { label: "地区", prop: "state", width: "260" }, { label: "城市", prop: "city", width: "260" }, { label: "地址", prop: "address", width: "260" }, { label: "邮编", prop: "post-code", width: "260" }, { label: "操作", width: "120", fixed: "right", slot: "operation" } ]; function handleClick(row) { console.log( "%crow===>>>: ", "color: MidnightBlue; background: Aquamarine; font-size: 20px;", row ); } </script> 点击一下---{{ showTable }}

<pure-table
v-show="showTable === 1"
adaptive
:border="true"
:data="tableDataMore"
:columns="columns"

from vue-pure-admin.

xiaoxian521 avatar xiaoxian521 commented on June 10, 2024

不要上来发一堆代码 直接提供复现仓库 会是更好的选择

from vue-pure-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.