增加是否可编辑
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!--suppress ALL -->
|
||||
<template>
|
||||
<div class="AppServicePublic">
|
||||
<AiTopFixed v-if="tabs.length">
|
||||
@@ -54,7 +55,7 @@
|
||||
|
||||
<AiEmpty description="暂无数据" v-else></AiEmpty>
|
||||
|
||||
<AiFixedBtn>
|
||||
<AiFixedBtn v-if="!readonly">
|
||||
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()"/>
|
||||
</AiFixedBtn>
|
||||
|
||||
@@ -86,7 +87,8 @@ export default {
|
||||
listName: '',
|
||||
tabs: [],
|
||||
tabIndex: 0,
|
||||
categoryId: ''
|
||||
categoryId: '',
|
||||
readonly: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -102,6 +104,7 @@ export default {
|
||||
this.areaName = this.user.areaName
|
||||
this.moduleId = o.moduleId
|
||||
this.listName = o.listName
|
||||
this.readonly = !!o.readonly
|
||||
this.getType()
|
||||
this.getList()
|
||||
uni.$on('update', () => {
|
||||
|
||||
Reference in New Issue
Block a user