export default { data() { return { pdfEditorVisible: false, pdfEditorRef: null, currentPdfUrl: '', }; }, methods: { openPdfEditor(row) { this.currentPdfUrl = row.pdfUrl; // 假设 row 中有 pdfUrl 字段 this.pdfEditorVisible = true; }, } };