d65fbe41 by lihua

解决defineStore唯一标识符冲突问题

1 parent 3d0ca3a4
1 const useDataAssetStore = defineStore( 1 const useDataAssetStore = defineStore(
2 // 资产目录guid 2 // 资产目录guid
3 'isRefresh', 3 'asset',
4 () => { 4 () => {
5 const isRefresh = ref<boolean>(false) 5 const isRefresh = ref<boolean>(false)
6 const isRefreshDamCatalog = ref<boolean>(false) 6 const isRefreshDamCatalog = ref<boolean>(false)
......
1 const useDataConnectorStore = defineStore( 1 const useDataConnectorStore = defineStore(
2 'isRefresh', 2 'connector',
3 () => { 3 () => {
4 const isRefresh = ref<boolean>(false) 4 const isRefresh = ref<boolean>(false)
5 5
......
1 const useDataFacilitatorStore = defineStore( 1 const useDataFacilitatorStore = defineStore(
2 /** 产品上架 */ 2 /** 产品上架 */
3 'isRefresh', 3 'facilitator',
4 () => { 4 () => {
5 const isRefresh = ref<boolean>(false) 5 const isRefresh = ref<boolean>(false)
6 function set(v: boolean) { 6 function set(v: boolean) {
......
1 const useDataProductStore = defineStore( 1 const useDataProductStore = defineStore(
2 /** 产品上架 */ 2 /** 产品上架 */
3 'isRefresh', 3 'dataProduct',
4 () => { 4 () => {
5 const isRefresh = ref<boolean>(false) 5 const isRefresh = ref<boolean>(false)
6 function set(v: boolean) { 6 function set(v: boolean) {
......
1 const useDataRegisterCatalogStore = defineStore( 1 const useDataRegisterCatalogStore = defineStore(
2 'isRefresh', 2 'registerCatalog',
3 () => { 3 () => {
4 const isRefresh = ref<boolean>(false) 4 const isRefresh = ref<boolean>(false)
5 5
......
1 const useDataSmartContract = defineStore( 1 const useDataSmartContract = defineStore(
2 'isRefresh', 2 'smartContract',
3 () => { 3 () => {
4 const isRefresh = ref<boolean>(false) 4 const isRefresh = ref<boolean>(false)
5 5
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!