<template>
<div
v-if="type == xxx"
></div>
//這個(gè)時(shí)候頁面加載的type是沒有值的怎么辦呢?
</template>
computed:{ type(){ return (ajax請求回來的某一個(gè)字段的值)
}
}
添加回答
舉報(bào)
0/150
提交
取消