Meteor grammar error, how to correct it?

<template>
    <el-row class="item" v-show="!UserCursor("specialist")"></el-row>
</template>   
     meteor: {
            /**
             * @return {boolean}
             */
            UserCursor(auth) {
                return this.personAuth === auth;

            },
        }

error TypeError: _ vm.UserCursor is not a function "?

Jun.15,2022

take a look at ide.meteor.com/vue.html-sharpintegrating-vue-with-meteor" rel=" nofollow noreferrer "> vue-with-meteor documentation


temporarily changed to this

<template>
    <el-row class="item" v-show="!('specialist'===this.personAuth)"></el-row>
</template> 
  • How does OHIF set the default date filter?

    OHIF import { Accounts } from meteor accounts-base ; Accounts.ui.config({ studyListDateFilterNumDays : 1000, }); ...

    Dec.03,2021
  • Meteor http

    meteor add httpmeteor For compatibility, the PACKAGE_DIRS environment variable is deprecated and will be removed in a future Meteor release. Developers should now use METEOR_PACKAGE_DIRS and Windows projects should now use a semi-colon (;) to separate pa...

    Dec.27,2021
Menu