@sigmaott/base-next 1.4.22 → 1.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sigmaott/base-next",
3
3
  "type": "module",
4
- "version": "1.4.22",
4
+ "version": "1.4.24",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -32,7 +32,7 @@ const [typeValue, typeAttrs] = useElField<string>('channelConfig.forensicWaterma
32
32
  required: false,
33
33
  }, { enabled: enableValue })
34
34
  const [wmValue, wmAttrs] = useElField<string>('channelConfig.forensicWatermarkConfig.wm', [{
35
- message: t('forensic.wm_is_required'),
35
+ message: t('forensic.enter_the_wm_in_format_e_g_0x64'),
36
36
  required: true,
37
37
  }, {
38
38
  validator: (rule, value, callback) => {
@@ -91,6 +91,7 @@ const loadPathPlayoutMutation = useMutation(
91
91
  )
92
92
 
93
93
  const listConfigWatermark = ref([])
94
+ const emptyText = ref($t('base.no_data'))
94
95
  const loadedPath = ref()
95
96
  async function onLoadPath() {
96
97
  formRef.value.validate(async (valid: boolean) => {
@@ -131,6 +132,7 @@ async function onLoadPath() {
131
132
  else {
132
133
  listConfigWatermark.value = []
133
134
  }
135
+ emptyText.value = listConfigWatermark.value.length === 0 ? 'No model not found' : $t('base.no_data')
134
136
 
135
137
  // showModel.value = false
136
138
  // formPathValue.value.path = ''