替换infopath项目,采用SharePoint SPFX框架
uatadmin
2024-07-26 984dbfd69ae31cdb9702cd39501cef1e340d34c3
附件显示修改
1个文件已修改
11 ■■■■■ 已修改文件
ISAM/isampage/src/components/UnitPrice/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ISAM/isampage/src/components/UnitPrice/index.vue
@@ -69,12 +69,12 @@
});
const fileList = computed(() => {
  return Object.keys(fileContet).map((item, index) => {
    if (parseInt(fileContet[item].version) !== 0) {
  return Object.keys(fileContet.value).map((item, index) => {
    if (parseInt(fileContet.value[item].version) !== 0) {
      return {
        name: item,
        path: computedRequest(fileContet[item].path),
        version: fileContet[item].version
        path: computedRequest(fileContet.value[item].path),
        version: fileContet.value[item].version
      }
    }
  }).filter(item => item)
@@ -87,6 +87,9 @@
 * @param {string} str
 */
const computedRequest = (str) => {
  if (!str) {
    return ""
  }
  let res = str.trim();
  return res.startsWith("http")
    ? res