🌐 AI搜索 & 代理 主页
Skip to content

Commit 7dc3f55

Browse files
authored
Update table-provider.spec.js
1 parent a07b4ba commit 7dc3f55

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/table/table-provider.spec.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ describe('table > provider functions', () => {
327327
// that prop with the same object reference
328328
// https://forum.vuejs.org/t/vue-test-utils-watchers-on-object-properties-not-triggered/50900/11?u=tmorehouse
329329
const App = {
330-
data: {
331-
filter: {
332-
a: '123'
330+
data() {
331+
return {
332+
filter: {
333+
a: '123'
334+
}
333335
}
334336
},
335337
render(h) {

0 commit comments

Comments
 (0)