Closed Charlie50503 closed 3 years ago
已解決 附上正確的setup方式
import Vue from "vue";
import App from "./App.vue";
import "xe-utils";
import VXETable from "vxe-table";
import "vxe-table/lib/style.css";
import VXETablePluginVirtualTree from "vxe-table-plugin-virtual-tree";
import "vxe-table-plugin-virtual-tree/dist/style.css";
Vue.use(VXETable);
//VXETable.use(VXETablePluginVirtualTree); 必須在 Vue.use(VXETable)之後才能正常使用
VXETable.use(VXETablePluginVirtualTree);
Vue.config.productionTip = false;
new Vue({
render: (h) => h(App)
}).$mount("#app");
(必填)请填写问题描述或截图: 我照著readme.md寫的setup vxe-table-plugin-virtual-tree 可是無法實現 出現下面錯誤
(必填)请填在线链接: https://codesandbox.io/s/test-install-vxe-table-xsbm3?file=/src/main.js (必填)请填写期望的结果: 能夠正常安裝
(必填)请填写以下信息: