<u-swipe-action-item :options="options1">
import {
reactive
} from "vue";
export default {
setup() {
const state = reactive({
options1: [{
text: "删除",
}, ],
});
return {
state
};
},
};
这个警告
Property "options1" was accessed during render but is not defined on instance.
而且滑动单元格删除按钮没出现,报
```javascript
vue.runtime.esm.js:1439 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
```