<template> <el-row class="item" v-show="!UserCursor('specialist')"></el-row></template>
meteor: { /**
* @return {boolean}
*/
UserCursor(auth) { return this.personAuth === auth;
},
}這樣寫提示錯誤TypeError: _vm.UserCursor is not a function"?
2 回答

慕桂英3389331
TA貢獻2036條經(jīng)驗 獲得超8個贊
暫時改成這樣了
<template> <el-row class="item" v-show="!('specialist'===this.personAuth)"></el-row></template>
- 2 回答
- 0 關(guān)注
- 451 瀏覽
添加回答
舉報
0/150
提交
取消