在信息管理系统中点击修改该行数据没有反应。
报错:

runtime-core.esm-bundler.js?5c40:6764 Uncaught ReferenceError: scope is not defined
    at Proxy.handleEdit (Home.vue?bb51:129)
    at onClick (Home.vue?bb51:23)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:6701)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:6710)
    at emit$1 (runtime-core.esm-bundler.js?5c40:285)
    at eval (runtime-core.esm-bundler.js?5c40:6486)
    at Proxy.handleClick (button.vue_vue&type=script&lang.mjs?61bd:48)
    at Object.onClick._cache.<computed>._cache.<computed> (button.vue_vue&type=template&id=802c5c76&lang.mjs?d820:23)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:6701)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:6710)

解决:
在这里插入图片描述
页面文件内,按钮处添加:

#default="scope"
Logo

前往低代码交流专区

更多推荐